From f0d4ddeab774eb8fa04872235f702fd17eaa1c1c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 5 Jul 2026 11:29:23 +0000 Subject: [PATCH] feat: Automated regeneration of cloudasset v1beta1 client --- api_names_out.yaml | 19 +++ .../CHANGELOG.md | 4 + .../google/apis/cloudasset_v1beta1/classes.rb | 123 ++++++++++++++++++ .../apis/cloudasset_v1beta1/gem_version.rb | 4 +- .../cloudasset_v1beta1/representations.rb | 64 +++++++++ 5 files changed, 212 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index dd27b458b0a..a2d1e8149a9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -76155,6 +76155,9 @@ "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1AccessPolicy/scopes": scopes "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1AccessPolicy/scopes/scope": scope "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1AccessPolicy/title": title +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1AddRequestHeader": google_identity_accesscontextmanager_v1_add_request_header +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1AddRequestHeader/key": key +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1AddRequestHeader/value": value "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ApiOperation": google_identity_accesscontextmanager_v1_api_operation "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ApiOperation/methodSelectors": method_selectors "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ApiOperation/methodSelectors/method_selector": method_selector @@ -76202,6 +76205,7 @@ "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1EgressPolicy/title": title "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1EgressSource": google_identity_accesscontextmanager_v1_egress_source "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1EgressSource/accessLevel": access_level +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1EgressSource/pscEndpoint": psc_endpoint "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1EgressSource/resource": resource "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1EgressTo": google_identity_accesscontextmanager_v1_egress_to "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1EgressTo/externalResources": external_resources @@ -76224,6 +76228,7 @@ "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1IngressPolicy/title": title "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1IngressSource": google_identity_accesscontextmanager_v1_ingress_source "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1IngressSource/accessLevel": access_level +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1IngressSource/pscEndpoint": psc_endpoint "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1IngressSource/resource": resource "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1IngressTo": google_identity_accesscontextmanager_v1_ingress_to "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1IngressTo/operations": operations @@ -76235,10 +76240,19 @@ "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1MethodSelector": google_identity_accesscontextmanager_v1_method_selector "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1MethodSelector/method": method_prop "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1MethodSelector/permission": permission +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1Modifier": google_identity_accesscontextmanager_v1_modifier +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1Modifier/addRequestHeader": add_request_header "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1OsConstraint": google_identity_accesscontextmanager_v1_os_constraint "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1OsConstraint/minimumVersion": minimum_version "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1OsConstraint/osType": os_type "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1OsConstraint/requireVerifiedChromeOs": require_verified_chrome_os +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint": google_identity_accesscontextmanager_v1_private_service_connect_endpoint +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint/forwardingRule": forwarding_rule +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ServicePattern": google_identity_accesscontextmanager_v1_service_pattern +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ServicePattern/modifiers": modifiers +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ServicePattern/modifiers/modifier": modifier +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ServicePattern/pattern": pattern +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ServicePattern/service": service "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter": google_identity_accesscontextmanager_v1_service_perimeter "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter/description": description "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeter/etag": etag @@ -76261,9 +76275,14 @@ "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig/restrictedServices/restricted_service": restricted_service "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig/vpcAccessibleServices": vpc_accessible_services "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices": google_identity_accesscontextmanager_v1_vpc_accessible_services +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices/allowedServicePatterns": allowed_service_patterns +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices/allowedServicePatterns/allowed_service_pattern": allowed_service_pattern "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices/allowedServices": allowed_services "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices/allowedServices/allowed_service": allowed_service "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices/enableRestriction": enable_restriction +"/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices/servicePatternsEnforcementScopes": service_patterns_enforcement_scopes +? "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices/servicePatternsEnforcementScopes/service_patterns_enforcement_scope" +: service_patterns_enforcement_scope "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcNetworkSource": google_identity_accesscontextmanager_v1_vpc_network_source "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcNetworkSource/vpcSubnetwork": vpc_subnetwork "/cloudasset:v1beta1/GoogleIdentityAccesscontextmanagerV1VpcSubNetwork": google_identity_accesscontextmanager_v1_vpc_sub_network diff --git a/generated/google-apis-cloudasset_v1beta1/CHANGELOG.md b/generated/google-apis-cloudasset_v1beta1/CHANGELOG.md index 1a377e5985e..78c0e183816 100644 --- a/generated/google-apis-cloudasset_v1beta1/CHANGELOG.md +++ b/generated/google-apis-cloudasset_v1beta1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-cloudasset_v1beta1 +### v0.49.0 (2026-07-05) + +* Regenerated from discovery document revision 20260624 + ### v0.48.0 (2026-06-10) * Regenerated from discovery document revision 20260427 diff --git a/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/classes.rb b/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/classes.rb index e04d7ccada7..7ddcefcf9ec 100644 --- a/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/classes.rb +++ b/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/classes.rb @@ -1205,6 +1205,31 @@ def update!(**args) end end + # Adds a request header to the API. + class GoogleIdentityAccesscontextmanagerV1AddRequestHeader + include Google::Apis::Core::Hashable + + # HTTP header key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # HTTP header value. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + # Identification for an API Operation. class GoogleIdentityAccesscontextmanagerV1ApiOperation include Google::Apis::Core::Hashable @@ -1563,6 +1588,11 @@ class GoogleIdentityAccesscontextmanagerV1EgressSource # @return [String] attr_accessor :access_level + # Specifies the PSC an API call refers to. + # Corresponds to the JSON property `pscEndpoint` + # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint] + attr_accessor :psc_endpoint + # A Google Cloud resource from the service perimeter that you want to allow to # access data outside the perimeter. This field supports only projects. The # project format is `projects/`project_number``. You can't use `*` in this field @@ -1578,6 +1608,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @access_level = args[:access_level] if args.key?(:access_level) + @psc_endpoint = args[:psc_endpoint] if args.key?(:psc_endpoint) @resource = args[:resource] if args.key?(:resource) end end @@ -1742,6 +1773,11 @@ class GoogleIdentityAccesscontextmanagerV1IngressSource # @return [String] attr_accessor :access_level + # Specifies the PSC an API call refers to. + # Corresponds to the JSON property `pscEndpoint` + # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint] + attr_accessor :psc_endpoint + # A Google Cloud resource that is allowed to ingress the perimeter. Requests # from these resources will be allowed to access perimeter data. Currently only # projects and VPCs are allowed. Project format: `projects/`project_number`` VPC @@ -1760,6 +1796,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @access_level = args[:access_level] if args.key?(:access_level) + @psc_endpoint = args[:psc_endpoint] if args.key?(:psc_endpoint) @resource = args[:resource] if args.key?(:resource) end end @@ -1831,6 +1868,25 @@ def update!(**args) end end + # Modifier to apply to the API requests. + class GoogleIdentityAccesscontextmanagerV1Modifier + include Google::Apis::Core::Hashable + + # Adds a request header to the API. + # Corresponds to the JSON property `addRequestHeader` + # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader] + attr_accessor :add_request_header + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @add_request_header = args[:add_request_header] if args.key?(:add_request_header) + end + end + # A restriction on the OS type and version of devices making requests. class GoogleIdentityAccesscontextmanagerV1OsConstraint include Google::Apis::Core::Hashable @@ -1868,6 +1924,60 @@ def update!(**args) end end + # Specifies the PSC an API call refers to. + class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint + include Google::Apis::Core::Hashable + + # The global forwarding rule identifier. Forwarding rule format: `//compute. + # googleapis.com/projects/`PROJECT_ID`/global/forwardingRules/` + # FORWARDING_RULE_ID``. + # Corresponds to the JSON property `forwardingRule` + # @return [String] + attr_accessor :forwarding_rule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) + end + end + + # Service patterns used to allow access. + class GoogleIdentityAccesscontextmanagerV1ServicePattern + include Google::Apis::Core::Hashable + + # Modifiers to apply to the requests that match the URL pattern. + # Corresponds to the JSON property `modifiers` + # @return [Array] + attr_accessor :modifiers + + # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis. + # com//*" and "*.appspot.com/* forms are supported, where should be + # alphanumerical name. + # Corresponds to the JSON property `pattern` + # @return [String] + attr_accessor :pattern + + # Supported service to allow. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @modifiers = args[:modifiers] if args.key?(:modifiers) + @pattern = args[:pattern] if args.key?(:pattern) + @service = args[:service] if args.key?(:service) + end + end + # `ServicePerimeter` describes a set of Google Cloud resources which can freely # import and export data amongst themselves, but not export outside of the ` # ServicePerimeter`. If a request with a source within this `ServicePerimeter` @@ -2028,6 +2138,12 @@ def update!(**args) class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices include Google::Apis::Core::Hashable + # Specifies which Google services are allowed to be accessed from VPC networks + # in the service perimeter. + # Corresponds to the JSON property `allowedServicePatterns` + # @return [Array] + attr_accessor :allowed_service_patterns + # The list of APIs usable within the Service Perimeter. Must be empty unless ' # enable_restriction' is True. You can specify a list of individual services, as # well as include the 'RESTRICTED-SERVICES' value, which automatically includes @@ -2043,14 +2159,21 @@ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices attr_accessor :enable_restriction alias_method :enable_restriction?, :enable_restriction + # Defines the enforcement scopes of service patterns. + # Corresponds to the JSON property `servicePatternsEnforcementScopes` + # @return [Array] + attr_accessor :service_patterns_enforcement_scopes + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @allowed_service_patterns = args[:allowed_service_patterns] if args.key?(:allowed_service_patterns) @allowed_services = args[:allowed_services] if args.key?(:allowed_services) @enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction) + @service_patterns_enforcement_scopes = args[:service_patterns_enforcement_scopes] if args.key?(:service_patterns_enforcement_scopes) end end diff --git a/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/gem_version.rb b/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/gem_version.rb index d32320ba6aa..82b9470f44c 100644 --- a/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/gem_version.rb +++ b/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module CloudassetV1beta1 # Version of the google-apis-cloudasset_v1beta1 gem - GEM_VERSION = "0.48.0" + GEM_VERSION = "0.49.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.19.0" # Revision of the discovery document this client was generated from - REVISION = "20260427" + REVISION = "20260624" end end end diff --git a/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/representations.rb b/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/representations.rb index 75f022fcd30..8cdcb3435f9 100644 --- a/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/representations.rb +++ b/generated/google-apis-cloudasset_v1beta1/lib/google/apis/cloudasset_v1beta1/representations.rb @@ -148,6 +148,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleIdentityAccesscontextmanagerV1AddRequestHeader + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleIdentityAccesscontextmanagerV1ApiOperation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -232,12 +238,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleIdentityAccesscontextmanagerV1Modifier + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleIdentityAccesscontextmanagerV1OsConstraint class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleIdentityAccesscontextmanagerV1ServicePattern + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleIdentityAccesscontextmanagerV1ServicePerimeter class Representation < Google::Apis::Core::JsonRepresentation; end @@ -537,6 +561,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleIdentityAccesscontextmanagerV1AddRequestHeader + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + class GoogleIdentityAccesscontextmanagerV1ApiOperation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -617,6 +649,8 @@ class GoogleIdentityAccesscontextmanagerV1EgressSource # @private class Representation < Google::Apis::Core::JsonRepresentation property :access_level, as: 'accessLevel' + property :psc_endpoint, as: 'pscEndpoint', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint::Representation + property :resource, as: 'resource' end end @@ -657,6 +691,8 @@ class GoogleIdentityAccesscontextmanagerV1IngressSource # @private class Representation < Google::Apis::Core::JsonRepresentation property :access_level, as: 'accessLevel' + property :psc_endpoint, as: 'pscEndpoint', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint::Representation + property :resource, as: 'resource' end end @@ -679,6 +715,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleIdentityAccesscontextmanagerV1Modifier + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :add_request_header, as: 'addRequestHeader', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader::Representation + + end + end + class GoogleIdentityAccesscontextmanagerV1OsConstraint # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -688,6 +732,23 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :forwarding_rule, as: 'forwardingRule' + end + end + + class GoogleIdentityAccesscontextmanagerV1ServicePattern + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :modifiers, as: 'modifiers', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1Modifier, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1Modifier::Representation + + property :pattern, as: 'pattern' + property :service, as: 'service' + end + end + class GoogleIdentityAccesscontextmanagerV1ServicePerimeter # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -722,8 +783,11 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :allowed_service_patterns, as: 'allowedServicePatterns', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern::Representation + collection :allowed_services, as: 'allowedServices' property :enable_restriction, as: 'enableRestriction' + collection :service_patterns_enforcement_scopes, as: 'servicePatternsEnforcementScopes' end end