Skip to content

Commit 59ac8e1

Browse files
feat: Automated regeneration of healthcare v1beta1 client (googleapis#26555)
Auto-created at 2026-05-24 10:39:11 +0000 using the toys pull request generator.
1 parent 3208604 commit 59ac8e1

5 files changed

Lines changed: 56 additions & 3 deletions

File tree

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295567,6 +295567,10 @@
295567295567
"/healthcare:v1beta1/CryptoHashConfig/cryptoKey": crypto_key
295568295568
"/healthcare:v1beta1/CryptoHashConfig/kmsWrapped": kms_wrapped
295569295569
"/healthcare:v1beta1/CryptoHashField": crypto_hash_field
295570+
"/healthcare:v1beta1/CustomRegex": custom_regex
295571+
"/healthcare:v1beta1/CustomRegex/groupIndexes": group_indexes
295572+
"/healthcare:v1beta1/CustomRegex/groupIndexes/group_index": group_index
295573+
"/healthcare:v1beta1/CustomRegex/pattern": pattern
295570295574
"/healthcare:v1beta1/Dataset": dataset
295571295575
"/healthcare:v1beta1/Dataset/encryptionSpec": encryption_spec
295572295576
"/healthcare:v1beta1/Dataset/name": name
@@ -295974,6 +295978,8 @@
295974295978
"/healthcare:v1beta1/ImageConfig": image_config
295975295979
"/healthcare:v1beta1/ImageConfig/additionalInfoTypes": additional_info_types
295976295980
"/healthcare:v1beta1/ImageConfig/additionalInfoTypes/additional_info_type": additional_info_type
295981+
"/healthcare:v1beta1/ImageConfig/customRegexes": custom_regexes
295982+
"/healthcare:v1beta1/ImageConfig/customRegexes/custom_regex": custom_regex
295977295983
"/healthcare:v1beta1/ImageConfig/excludeInfoTypes": exclude_info_types
295978295984
"/healthcare:v1beta1/ImageConfig/excludeInfoTypes/exclude_info_type": exclude_info_type
295979295985
"/healthcare:v1beta1/ImageConfig/textRedactionMode": text_redaction_mode

generated/google-apis-healthcare_v1beta1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-healthcare_v1beta1
22

3-
### v0.98.0 (2026-05-17)
3+
### v0.98.0 (2026-05-24)
44

5-
* Regenerated from discovery document revision 20260512
5+
* Regenerated from discovery document revision 20260519
66

77
### v0.97.0 (2026-04-19)
88

generated/google-apis-healthcare_v1beta1/lib/google/apis/healthcare_v1beta1/classes.rb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,6 +1555,31 @@ def update!(**args)
15551555
end
15561556
end
15571557

1558+
# Defines a custom regular expression pattern to detect and redact in the image.
1559+
class CustomRegex
1560+
include Google::Apis::Core::Hashable
1561+
1562+
# Optional. The capturing group indexes to redact. skip_request_analyics: true
1563+
# Corresponds to the JSON property `groupIndexes`
1564+
# @return [Array<Fixnum>]
1565+
attr_accessor :group_indexes
1566+
1567+
# Optional. The regular expression pattern to match.
1568+
# Corresponds to the JSON property `pattern`
1569+
# @return [String]
1570+
attr_accessor :pattern
1571+
1572+
def initialize(**args)
1573+
update!(**args)
1574+
end
1575+
1576+
# Update properties of this object
1577+
def update!(**args)
1578+
@group_indexes = args[:group_indexes] if args.key?(:group_indexes)
1579+
@pattern = args[:pattern] if args.key?(:pattern)
1580+
end
1581+
end
1582+
15581583
# A message representing a health dataset. A health dataset represents a
15591584
# collection of healthcare data pertaining to one or more patients. This may
15601585
# include multiple modalities of healthcare data, such as electronic medical
@@ -4465,6 +4490,11 @@ class ImageConfig
44654490
# @return [Array<String>]
44664491
attr_accessor :additional_info_types
44674492

4493+
# Optional. Custom regex patterns to redact from the image.
4494+
# Corresponds to the JSON property `customRegexes`
4495+
# @return [Array<Google::Apis::HealthcareV1beta1::CustomRegex>]
4496+
attr_accessor :custom_regexes
4497+
44684498
# InfoTypes to skip redacting, overriding those used by `text_redaction_mode`.
44694499
# Can only be used when `text_redaction_mode` is set to `REDACT_SENSITIVE_TEXT`
44704500
# or `REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS`.
@@ -4484,6 +4514,7 @@ def initialize(**args)
44844514
# Update properties of this object
44854515
def update!(**args)
44864516
@additional_info_types = args[:additional_info_types] if args.key?(:additional_info_types)
4517+
@custom_regexes = args[:custom_regexes] if args.key?(:custom_regexes)
44874518
@exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types)
44884519
@text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
44894520
end

generated/google-apis-healthcare_v1beta1/lib/google/apis/healthcare_v1beta1/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module HealthcareV1beta1
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260512"
25+
REVISION = "20260519"
2626
end
2727
end
2828
end

generated/google-apis-healthcare_v1beta1/lib/google/apis/healthcare_v1beta1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
292292
include Google::Apis::Core::JsonObjectSupport
293293
end
294294

295+
class CustomRegex
296+
class Representation < Google::Apis::Core::JsonRepresentation; end
297+
298+
include Google::Apis::Core::JsonObjectSupport
299+
end
300+
295301
class Dataset
296302
class Representation < Google::Apis::Core::JsonRepresentation; end
297303

@@ -1697,6 +1703,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
16971703
end
16981704
end
16991705

1706+
class CustomRegex
1707+
# @private
1708+
class Representation < Google::Apis::Core::JsonRepresentation
1709+
collection :group_indexes, as: 'groupIndexes'
1710+
property :pattern, as: 'pattern'
1711+
end
1712+
end
1713+
17001714
class Dataset
17011715
# @private
17021716
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2435,6 +2449,8 @@ class ImageConfig
24352449
# @private
24362450
class Representation < Google::Apis::Core::JsonRepresentation
24372451
collection :additional_info_types, as: 'additionalInfoTypes'
2452+
collection :custom_regexes, as: 'customRegexes', class: Google::Apis::HealthcareV1beta1::CustomRegex, decorator: Google::Apis::HealthcareV1beta1::CustomRegex::Representation
2453+
24382454
collection :exclude_info_types, as: 'excludeInfoTypes'
24392455
property :text_redaction_mode, as: 'textRedactionMode'
24402456
end

0 commit comments

Comments
 (0)