Skip to content

Commit b8406e0

Browse files
feat: Automated regeneration of integrations v1 client (googleapis#23574)
Auto-created at 2025-06-29 10:27:23 +0000 using the toys pull request generator.
1 parent bfe1030 commit b8406e0

File tree

6 files changed

+208
-9
lines changed

6 files changed

+208
-9
lines changed

api_names_out.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263777,6 +263777,11 @@
263777263777
"/integrations:v1/GoogleCloudIntegrationsV1alphaCertificate/requestorId": requestor_id
263778263778
"/integrations:v1/GoogleCloudIntegrationsV1alphaCertificate/validEndTime": valid_end_time
263779263779
"/integrations:v1/GoogleCloudIntegrationsV1alphaCertificate/validStartTime": valid_start_time
263780+
"/integrations:v1/GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest": google_cloud_integrations_v1alpha_change_customer_config_request
263781+
"/integrations:v1/GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest/customerConfig": customer_config
263782+
"/integrations:v1/GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest/updateMask": update_mask
263783+
"/integrations:v1/GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse": google_cloud_integrations_v1alpha_change_customer_config_response
263784+
"/integrations:v1/GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse/customerConfig": customer_config
263780263785
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientCertificate": google_cloud_integrations_v1alpha_client_certificate
263781263786
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientCertificate/encryptedPrivateKey": encrypted_private_key
263782263787
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientCertificate/passphrase": passphrase
@@ -263787,6 +263792,7 @@
263787263792
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/cloudKmsConfig": cloud_kms_config
263788263793
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/cloudLoggingConfig": cloud_logging_config
263789263794
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/createTime": create_time
263795+
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/customerConfig": customer_config
263790263796
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/description": description
263791263797
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/enableHttpCall": enable_http_call
263792263798
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/enableInternalIp": enable_internal_ip
@@ -263857,6 +263863,12 @@
263857263863
"/integrations:v1/GoogleCloudIntegrationsV1alphaCredential/oidcToken": oidc_token
263858263864
"/integrations:v1/GoogleCloudIntegrationsV1alphaCredential/serviceAccountCredentials": service_account_credentials
263859263865
"/integrations:v1/GoogleCloudIntegrationsV1alphaCredential/usernameAndPassword": username_and_password
263866+
"/integrations:v1/GoogleCloudIntegrationsV1alphaCustomerConfig": google_cloud_integrations_v1alpha_customer_config
263867+
"/integrations:v1/GoogleCloudIntegrationsV1alphaCustomerConfig/cloudKmsConfig": cloud_kms_config
263868+
"/integrations:v1/GoogleCloudIntegrationsV1alphaCustomerConfig/enableHttpCall": enable_http_call
263869+
"/integrations:v1/GoogleCloudIntegrationsV1alphaCustomerConfig/enableManagedAiFeatures": enable_managed_ai_features
263870+
"/integrations:v1/GoogleCloudIntegrationsV1alphaCustomerConfig/enableVariableMasking": enable_variable_masking
263871+
"/integrations:v1/GoogleCloudIntegrationsV1alphaCustomerConfig/runAsServiceAccount": run_as_service_account
263860263872
"/integrations:v1/GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionRequest": google_cloud_integrations_v1alpha_deactivate_integration_version_request
263861263873
"/integrations:v1/GoogleCloudIntegrationsV1alphaDeactivateIntegrationVersionResponse": google_cloud_integrations_v1alpha_deactivate_integration_version_response
263862263874
"/integrations:v1/GoogleCloudIntegrationsV1alphaDeprovisionClientRequest": google_cloud_integrations_v1alpha_deprovision_client_request
@@ -264650,6 +264662,8 @@
264650264662
"/integrations:v1/integrations.projects.locations.certificates.patch": patch_project_location_certificate
264651264663
"/integrations:v1/integrations.projects.locations.certificates.patch/name": name
264652264664
"/integrations:v1/integrations.projects.locations.certificates.patch/updateMask": update_mask
264665+
"/integrations:v1/integrations.projects.locations.clients.changeConfig": change_project_location_client_config
264666+
"/integrations:v1/integrations.projects.locations.clients.changeConfig/parent": parent
264653264667
"/integrations:v1/integrations.projects.locations.clients.deprovision": deprovision_project_location_client
264654264668
"/integrations:v1/integrations.projects.locations.clients.deprovision/parent": parent
264655264669
"/integrations:v1/integrations.projects.locations.clients.provision": provision_project_location_client

generated/google-apis-integrations_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-integrations_v1
22

3+
### v0.15.0 (2025-06-29)
4+
5+
* Regenerated from discovery document revision 20250627
6+
37
### v0.14.0 (2025-06-15)
48

59
* Regenerated from discovery document revision 20250610

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

Lines changed: 105 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6979,6 +6979,51 @@ def update!(**args)
69796979
end
69806980
end
69816981

6982+
# Request for the ChangeCustomerConfig rpc
6983+
class GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest
6984+
include Google::Apis::Core::Hashable
6985+
6986+
# Customer configuration information for the given client
6987+
# Corresponds to the JSON property `customerConfig`
6988+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCustomerConfig]
6989+
attr_accessor :customer_config
6990+
6991+
# Required. Field mask specifying the fields in the customer config that have
6992+
# been modified and must be updated. If absent or empty, no fields are updated.
6993+
# Corresponds to the JSON property `updateMask`
6994+
# @return [String]
6995+
attr_accessor :update_mask
6996+
6997+
def initialize(**args)
6998+
update!(**args)
6999+
end
7000+
7001+
# Update properties of this object
7002+
def update!(**args)
7003+
@customer_config = args[:customer_config] if args.key?(:customer_config)
7004+
@update_mask = args[:update_mask] if args.key?(:update_mask)
7005+
end
7006+
end
7007+
7008+
# Response for the ChangeCustomerConfig rpc
7009+
class GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse
7010+
include Google::Apis::Core::Hashable
7011+
7012+
# Customer configuration information for the given client
7013+
# Corresponds to the JSON property `customerConfig`
7014+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCustomerConfig]
7015+
attr_accessor :customer_config
7016+
7017+
def initialize(**args)
7018+
update!(**args)
7019+
end
7020+
7021+
# Update properties of this object
7022+
def update!(**args)
7023+
@customer_config = args[:customer_config] if args.key?(:customer_config)
7024+
end
7025+
end
7026+
69827027
# Contains client certificate information
69837028
class GoogleCloudIntegrationsV1alphaClientCertificate
69847029
include Google::Apis::Core::Hashable
@@ -7064,12 +7109,17 @@ class GoogleCloudIntegrationsV1alphaClientConfig
70647109
# @return [String]
70657110
attr_accessor :create_time
70667111

7112+
# Customer configuration information for the given client
7113+
# Corresponds to the JSON property `customerConfig`
7114+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCustomerConfig]
7115+
attr_accessor :customer_config
7116+
70677117
# Description of what the client is used for
70687118
# Corresponds to the JSON property `description`
70697119
# @return [String]
70707120
attr_accessor :description
70717121

7072-
# Optional. Indicates the client enables making HTTP call.
7122+
# Optional.
70737123
# Corresponds to the JSON property `enableHttpCall`
70747124
# @return [Boolean]
70757125
attr_accessor :enable_http_call
@@ -7082,14 +7132,13 @@ class GoogleCloudIntegrationsV1alphaClientConfig
70827132
attr_accessor :enable_internal_ip
70837133
alias_method :enable_internal_ip?, :enable_internal_ip
70847134

7085-
# Optional. Indicates if the Cloud Companion APIs will be used in the tenant
7086-
# project, i.e. if customer can use the managed AI features for free.
7135+
# Optional.
70877136
# Corresponds to the JSON property `enableManagedAiFeatures`
70887137
# @return [Boolean]
70897138
attr_accessor :enable_managed_ai_features
70907139
alias_method :enable_managed_ai_features?, :enable_managed_ai_features
70917140

7092-
# Optional. True if variable masking feature should be turned on for this region
7141+
# Optional.
70937142
# Corresponds to the JSON property `enableVariableMasking`
70947143
# @return [Boolean]
70957144
attr_accessor :enable_variable_masking
@@ -7121,9 +7170,7 @@ class GoogleCloudIntegrationsV1alphaClientConfig
71217170
# @return [String]
71227171
attr_accessor :region
71237172

7124-
# Default run-as service account email, set up during project provision time,
7125-
# that will be used to generate auth token to be used in Connector task, Rest
7126-
# caller task, Cloud function task and Subworkflows.
7173+
#
71277174
# Corresponds to the JSON property `runAsServiceAccount`
71287175
# @return [String]
71297176
attr_accessor :run_as_service_account
@@ -7138,6 +7185,7 @@ def update!(**args)
71387185
@client_state = args[:client_state] if args.key?(:client_state)
71397186
@cloud_kms_config = args[:cloud_kms_config] if args.key?(:cloud_kms_config)
71407187
@create_time = args[:create_time] if args.key?(:create_time)
7188+
@customer_config = args[:customer_config] if args.key?(:customer_config)
71417189
@description = args[:description] if args.key?(:description)
71427190
@enable_http_call = args[:enable_http_call] if args.key?(:enable_http_call)
71437191
@enable_internal_ip = args[:enable_internal_ip] if args.key?(:enable_internal_ip)
@@ -7531,6 +7579,56 @@ def update!(**args)
75317579
end
75327580
end
75337581

7582+
# Customer configuration information for the given client
7583+
class GoogleCloudIntegrationsV1alphaCustomerConfig
7584+
include Google::Apis::Core::Hashable
7585+
7586+
# Configuration information for Client's Cloud KMS information
7587+
# Corresponds to the JSON property `cloudKmsConfig`
7588+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudKmsConfig]
7589+
attr_accessor :cloud_kms_config
7590+
7591+
# Optional. Indicates if the client should be allowed to make HTTP calls. True
7592+
# if http call feature should be turned on for this region.
7593+
# Corresponds to the JSON property `enableHttpCall`
7594+
# @return [Boolean]
7595+
attr_accessor :enable_http_call
7596+
alias_method :enable_http_call?, :enable_http_call
7597+
7598+
# Optional. Indicates if the client should be allowed to use managed AI features,
7599+
# i.e. using Cloud Companion APIs of the tenant project. This will allow the
7600+
# customers to use features like Troubleshooting, OpenAPI spec enrichment, etc.
7601+
# for free.
7602+
# Corresponds to the JSON property `enableManagedAiFeatures`
7603+
# @return [Boolean]
7604+
attr_accessor :enable_managed_ai_features
7605+
alias_method :enable_managed_ai_features?, :enable_managed_ai_features
7606+
7607+
# Optional. True if variable masking feature should be turned on for this region.
7608+
# Corresponds to the JSON property `enableVariableMasking`
7609+
# @return [Boolean]
7610+
attr_accessor :enable_variable_masking
7611+
alias_method :enable_variable_masking?, :enable_variable_masking
7612+
7613+
# Optional. Run-as service account to be updated for the provisioned client.
7614+
# Corresponds to the JSON property `runAsServiceAccount`
7615+
# @return [String]
7616+
attr_accessor :run_as_service_account
7617+
7618+
def initialize(**args)
7619+
update!(**args)
7620+
end
7621+
7622+
# Update properties of this object
7623+
def update!(**args)
7624+
@cloud_kms_config = args[:cloud_kms_config] if args.key?(:cloud_kms_config)
7625+
@enable_http_call = args[:enable_http_call] if args.key?(:enable_http_call)
7626+
@enable_managed_ai_features = args[:enable_managed_ai_features] if args.key?(:enable_managed_ai_features)
7627+
@enable_variable_masking = args[:enable_variable_masking] if args.key?(:enable_variable_masking)
7628+
@run_as_service_account = args[:run_as_service_account] if args.key?(:run_as_service_account)
7629+
end
7630+
end
7631+
75347632
# Request for the Deprovision rpc
75357633
class GoogleCloudIntegrationsV1alphaDeprovisionClientRequest
75367634
include Google::Apis::Core::Hashable

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module IntegrationsV1
1818
# Version of the google-apis-integrations_v1 gem
19-
GEM_VERSION = "0.14.0"
19+
GEM_VERSION = "0.15.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10181018
include Google::Apis::Core::JsonObjectSupport
10191019
end
10201020

1021+
class GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest
1022+
class Representation < Google::Apis::Core::JsonRepresentation; end
1023+
1024+
include Google::Apis::Core::JsonObjectSupport
1025+
end
1026+
1027+
class GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse
1028+
class Representation < Google::Apis::Core::JsonRepresentation; end
1029+
1030+
include Google::Apis::Core::JsonObjectSupport
1031+
end
1032+
10211033
class GoogleCloudIntegrationsV1alphaClientCertificate
10221034
class Representation < Google::Apis::Core::JsonRepresentation; end
10231035

@@ -1096,6 +1108,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10961108
include Google::Apis::Core::JsonObjectSupport
10971109
end
10981110

1111+
class GoogleCloudIntegrationsV1alphaCustomerConfig
1112+
class Representation < Google::Apis::Core::JsonRepresentation; end
1113+
1114+
include Google::Apis::Core::JsonObjectSupport
1115+
end
1116+
10991117
class GoogleCloudIntegrationsV1alphaDeprovisionClientRequest
11001118
class Representation < Google::Apis::Core::JsonRepresentation; end
11011119

@@ -3810,6 +3828,23 @@ class Representation < Google::Apis::Core::JsonRepresentation
38103828
end
38113829
end
38123830

3831+
class GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest
3832+
# @private
3833+
class Representation < Google::Apis::Core::JsonRepresentation
3834+
property :customer_config, as: 'customerConfig', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCustomerConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCustomerConfig::Representation
3835+
3836+
property :update_mask, as: 'updateMask'
3837+
end
3838+
end
3839+
3840+
class GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse
3841+
# @private
3842+
class Representation < Google::Apis::Core::JsonRepresentation
3843+
property :customer_config, as: 'customerConfig', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCustomerConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCustomerConfig::Representation
3844+
3845+
end
3846+
end
3847+
38133848
class GoogleCloudIntegrationsV1alphaClientCertificate
38143849
# @private
38153850
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3827,6 +3862,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
38273862
property :cloud_kms_config, as: 'cloudKmsConfig', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudKmsConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudKmsConfig::Representation
38283863

38293864
property :create_time, as: 'createTime'
3865+
property :customer_config, as: 'customerConfig', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCustomerConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCustomerConfig::Representation
3866+
38303867
property :description, as: 'description'
38313868
property :enable_http_call, as: 'enableHttpCall'
38323869
property :enable_internal_ip, as: 'enableInternalIp'
@@ -3951,6 +3988,18 @@ class Representation < Google::Apis::Core::JsonRepresentation
39513988
end
39523989
end
39533990

3991+
class GoogleCloudIntegrationsV1alphaCustomerConfig
3992+
# @private
3993+
class Representation < Google::Apis::Core::JsonRepresentation
3994+
property :cloud_kms_config, as: 'cloudKmsConfig', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudKmsConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudKmsConfig::Representation
3995+
3996+
property :enable_http_call, as: 'enableHttpCall'
3997+
property :enable_managed_ai_features, as: 'enableManagedAiFeatures'
3998+
property :enable_variable_masking, as: 'enableVariableMasking'
3999+
property :run_as_service_account, as: 'runAsServiceAccount'
4000+
end
4001+
end
4002+
39544003
class GoogleCloudIntegrationsV1alphaDeprovisionClientRequest
39554004
# @private
39564005
class Representation < Google::Apis::Core::JsonRepresentation

generated/google-apis-integrations_v1/lib/google/apis/integrations_v1/service.rb

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,40 @@ def patch_project_location_certificate(name, google_cloud_integrations_v1alpha_c
725725
execute_or_queue_command(command, &block)
726726
end
727727

728+
# Updates the client customer configuration for the given project and location
729+
# resource name
730+
# @param [String] parent
731+
# Required. Required: Format - projects/`project`/locations/`location`
732+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest] google_cloud_integrations_v1alpha_change_customer_config_request_object
733+
# @param [String] fields
734+
# Selector specifying which fields to include in a partial response.
735+
# @param [String] quota_user
736+
# Available to use for quota purposes for server-side applications. Can be any
737+
# arbitrary string assigned to a user, but should not exceed 40 characters.
738+
# @param [Google::Apis::RequestOptions] options
739+
# Request-specific options
740+
#
741+
# @yield [result, err] Result & error if block supplied
742+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse] parsed result object
743+
# @yieldparam err [StandardError] error object if request failed
744+
#
745+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse]
746+
#
747+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
748+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
749+
# @raise [Google::Apis::AuthorizationError] Authorization is required
750+
def change_project_location_client_config(parent, google_cloud_integrations_v1alpha_change_customer_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
751+
command = make_simple_command(:post, 'v1/{+parent}/clients:changeConfig', options)
752+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaChangeCustomerConfigRequest::Representation
753+
command.request_object = google_cloud_integrations_v1alpha_change_customer_config_request_object
754+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse::Representation
755+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaChangeCustomerConfigResponse
756+
command.params['parent'] = parent unless parent.nil?
757+
command.query['fields'] = fields unless fields.nil?
758+
command.query['quotaUser'] = quota_user unless quota_user.nil?
759+
execute_or_queue_command(command, &block)
760+
end
761+
728762
# Perform the deprovisioning steps to disable a user GCP project to use IP and
729763
# purge all related data in a wipeout-compliant way.
730764
# @param [String] parent

0 commit comments

Comments
 (0)