Skip to content

Commit a9e5f33

Browse files
feat: Automated regeneration of integrations v1 client (googleapis#23229)
Auto-created at 2025-05-25 09:24:39 +0000 using the toys pull request generator.
1 parent 5dce8e8 commit a9e5f33

File tree

6 files changed

+126
-3
lines changed

6 files changed

+126
-3
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261636,6 +261636,7 @@
261636261636
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/description": description
261637261637
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/enableHttpCall": enable_http_call
261638261638
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/enableInternalIp": enable_internal_ip
261639+
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/enableManagedAiFeatures": enable_managed_ai_features
261639261640
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/enableVariableMasking": enable_variable_masking
261640261641
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/id": id
261641261642
"/integrations:v1/GoogleCloudIntegrationsV1alphaClientConfig/isGmek": is_gmek
@@ -262124,10 +262125,15 @@
262124262125
"/integrations:v1/GoogleCloudIntegrationsV1alphaProjectProperties/ipEnablementState": ip_enablement_state
262125262126
"/integrations:v1/GoogleCloudIntegrationsV1alphaProjectProperties/provisionedRegions": provisioned_regions
262126262127
"/integrations:v1/GoogleCloudIntegrationsV1alphaProjectProperties/provisionedRegions/provisioned_region": provisioned_region
262128+
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest": google_cloud_integrations_v1alpha_provision_client_post_processor_request
262129+
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest/workflows": workflows
262130+
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest/workflows/workflow": workflow
262131+
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse": google_cloud_integrations_v1alpha_provision_client_post_processor_response
262127262132
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientRequest": google_cloud_integrations_v1alpha_provision_client_request
262128262133
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientRequest/cloudKmsConfig": cloud_kms_config
262129262134
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientRequest/createSampleWorkflows": create_sample_workflows
262130262135
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientRequest/enableHttpCall": enable_http_call
262136+
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientRequest/enableManagedAiFeatures": enable_managed_ai_features
262131262137
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientRequest/provisionGmek": provision_gmek
262132262138
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientRequest/runAsServiceAccount": run_as_service_account
262133262139
"/integrations:v1/GoogleCloudIntegrationsV1alphaProvisionClientRequest/skipCpProvision": skip_cp_provision
@@ -262494,6 +262500,8 @@
262494262500
"/integrations:v1/integrations.projects.locations.clients.deprovision/parent": parent
262495262501
"/integrations:v1/integrations.projects.locations.clients.provision": provision_project_location_client
262496262502
"/integrations:v1/integrations.projects.locations.clients.provision/parent": parent
262503+
"/integrations:v1/integrations.projects.locations.clients.provisionClientPostProcessor": provision_project_location_client_client_post_processor
262504+
"/integrations:v1/integrations.projects.locations.clients.provisionClientPostProcessor/parent": parent
262497262505
"/integrations:v1/integrations.projects.locations.clients.replace": replace_project_location_client
262498262506
"/integrations:v1/integrations.projects.locations.clients.replace/parent": parent
262499262507
"/integrations:v1/integrations.projects.locations.clients.switch": switch_project_location_client

generated/google-apis-integrations_v1/CHANGELOG.md

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

3+
### v0.13.0 (2025-05-25)
4+
5+
* Regenerated from discovery document revision 20250521
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.12.0 (2025-05-18)
49

510
* Regenerated from discovery document revision 20250506

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

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7075,6 +7075,13 @@ class GoogleCloudIntegrationsV1alphaClientConfig
70757075
attr_accessor :enable_internal_ip
70767076
alias_method :enable_internal_ip?, :enable_internal_ip
70777077

7078+
# Optional. Indicates if the Cloud Companion APIs will be used in the tenant
7079+
# project, i.e. if customer can use the managed AI features for free.
7080+
# Corresponds to the JSON property `enableManagedAiFeatures`
7081+
# @return [Boolean]
7082+
attr_accessor :enable_managed_ai_features
7083+
alias_method :enable_managed_ai_features?, :enable_managed_ai_features
7084+
70787085
# Optional. True if variable masking feature should be turned on for this region
70797086
# Corresponds to the JSON property `enableVariableMasking`
70807087
# @return [Boolean]
@@ -7127,6 +7134,7 @@ def update!(**args)
71277134
@description = args[:description] if args.key?(:description)
71287135
@enable_http_call = args[:enable_http_call] if args.key?(:enable_http_call)
71297136
@enable_internal_ip = args[:enable_internal_ip] if args.key?(:enable_internal_ip)
7137+
@enable_managed_ai_features = args[:enable_managed_ai_features] if args.key?(:enable_managed_ai_features)
71307138
@enable_variable_masking = args[:enable_variable_masking] if args.key?(:enable_variable_masking)
71317139
@id = args[:id] if args.key?(:id)
71327140
@is_gmek = args[:is_gmek] if args.key?(:is_gmek)
@@ -10121,6 +10129,38 @@ def update!(**args)
1012110129
end
1012210130
end
1012310131

10132+
# Request for PostProvisioning rpc call.
10133+
class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest
10134+
include Google::Apis::Core::Hashable
10135+
10136+
# Optional. Indicate which workflows to create
10137+
# Corresponds to the JSON property `workflows`
10138+
# @return [Array<String>]
10139+
attr_accessor :workflows
10140+
10141+
def initialize(**args)
10142+
update!(**args)
10143+
end
10144+
10145+
# Update properties of this object
10146+
def update!(**args)
10147+
@workflows = args[:workflows] if args.key?(:workflows)
10148+
end
10149+
end
10150+
10151+
# Response for PostProvisioning rpc call.
10152+
class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse
10153+
include Google::Apis::Core::Hashable
10154+
10155+
def initialize(**args)
10156+
update!(**args)
10157+
end
10158+
10159+
# Update properties of this object
10160+
def update!(**args)
10161+
end
10162+
end
10163+
1012410164
# Request for the Provision rpc
1012510165
class GoogleCloudIntegrationsV1alphaProvisionClientRequest
1012610166
include Google::Apis::Core::Hashable
@@ -10143,6 +10183,15 @@ class GoogleCloudIntegrationsV1alphaProvisionClientRequest
1014310183
attr_accessor :enable_http_call
1014410184
alias_method :enable_http_call?, :enable_http_call
1014510185

10186+
# Optional. Indicates if the client should be allowed to use managed AI features,
10187+
# i.e. using Cloud Companion APIs of the tenant project. This will allow the
10188+
# customers to use features like Troubleshooting, OpenAPI spec enrichment, etc.
10189+
# for free.
10190+
# Corresponds to the JSON property `enableManagedAiFeatures`
10191+
# @return [Boolean]
10192+
attr_accessor :enable_managed_ai_features
10193+
alias_method :enable_managed_ai_features?, :enable_managed_ai_features
10194+
1014610195
# Optional. Deprecated. Indicates provision with GMEK or CMEK. This field is
1014710196
# deprecated and the provision would always be GMEK if cloud_kms_config is not
1014810197
# present in the request.
@@ -10172,6 +10221,7 @@ def update!(**args)
1017210221
@cloud_kms_config = args[:cloud_kms_config] if args.key?(:cloud_kms_config)
1017310222
@create_sample_workflows = args[:create_sample_workflows] if args.key?(:create_sample_workflows)
1017410223
@enable_http_call = args[:enable_http_call] if args.key?(:enable_http_call)
10224+
@enable_managed_ai_features = args[:enable_managed_ai_features] if args.key?(:enable_managed_ai_features)
1017510225
@provision_gmek = args[:provision_gmek] if args.key?(:provision_gmek)
1017610226
@run_as_service_account = args[:run_as_service_account] if args.key?(:run_as_service_account)
1017710227
@skip_cp_provision = args[:skip_cp_provision] if args.key?(:skip_cp_provision)

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

Lines changed: 3 additions & 3 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.12.0"
19+
GEM_VERSION = "0.13.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,6 +1528,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
15281528
include Google::Apis::Core::JsonObjectSupport
15291529
end
15301530

1531+
class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest
1532+
class Representation < Google::Apis::Core::JsonRepresentation; end
1533+
1534+
include Google::Apis::Core::JsonObjectSupport
1535+
end
1536+
1537+
class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse
1538+
class Representation < Google::Apis::Core::JsonRepresentation; end
1539+
1540+
include Google::Apis::Core::JsonObjectSupport
1541+
end
1542+
15311543
class GoogleCloudIntegrationsV1alphaProvisionClientRequest
15321544
class Representation < Google::Apis::Core::JsonRepresentation; end
15331545

@@ -3817,6 +3829,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
38173829
property :description, as: 'description'
38183830
property :enable_http_call, as: 'enableHttpCall'
38193831
property :enable_internal_ip, as: 'enableInternalIp'
3832+
property :enable_managed_ai_features, as: 'enableManagedAiFeatures'
38203833
property :enable_variable_masking, as: 'enableVariableMasking'
38213834
property :id, as: 'id'
38223835
property :is_gmek, as: 'isGmek'
@@ -4696,13 +4709,27 @@ class Representation < Google::Apis::Core::JsonRepresentation
46964709
end
46974710
end
46984711

4712+
class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest
4713+
# @private
4714+
class Representation < Google::Apis::Core::JsonRepresentation
4715+
collection :workflows, as: 'workflows'
4716+
end
4717+
end
4718+
4719+
class GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse
4720+
# @private
4721+
class Representation < Google::Apis::Core::JsonRepresentation
4722+
end
4723+
end
4724+
46994725
class GoogleCloudIntegrationsV1alphaProvisionClientRequest
47004726
# @private
47014727
class Representation < Google::Apis::Core::JsonRepresentation
47024728
property :cloud_kms_config, as: 'cloudKmsConfig', class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudKmsConfig, decorator: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudKmsConfig::Representation
47034729

47044730
property :create_sample_workflows, as: 'createSampleWorkflows'
47054731
property :enable_http_call, as: 'enableHttpCall'
4732+
property :enable_managed_ai_features, as: 'enableManagedAiFeatures'
47064733
property :provision_gmek, as: 'provisionGmek'
47074734
property :run_as_service_account, as: 'runAsServiceAccount'
47084735
property :skip_cp_provision, as: 'skipCpProvision'

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,39 @@ def provision_project_location_client(parent, google_cloud_integrations_v1alpha_
794794
execute_or_queue_command(command, &block)
795795
end
796796

797+
# Perform post provisioning steps after client is provisioned.
798+
# @param [String] parent
799+
# Required. Required: The ID of the GCP Project to be provisioned.
800+
# @param [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest] google_cloud_integrations_v1alpha_provision_client_post_processor_request_object
801+
# @param [String] fields
802+
# Selector specifying which fields to include in a partial response.
803+
# @param [String] quota_user
804+
# Available to use for quota purposes for server-side applications. Can be any
805+
# arbitrary string assigned to a user, but should not exceed 40 characters.
806+
# @param [Google::Apis::RequestOptions] options
807+
# Request-specific options
808+
#
809+
# @yield [result, err] Result & error if block supplied
810+
# @yieldparam result [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse] parsed result object
811+
# @yieldparam err [StandardError] error object if request failed
812+
#
813+
# @return [Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse]
814+
#
815+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
816+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
817+
# @raise [Google::Apis::AuthorizationError] Authorization is required
818+
def provision_project_location_client_client_post_processor(parent, google_cloud_integrations_v1alpha_provision_client_post_processor_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
819+
command = make_simple_command(:post, 'v1/{+parent}/clients:provisionClientPostProcessor', options)
820+
command.request_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorRequest::Representation
821+
command.request_object = google_cloud_integrations_v1alpha_provision_client_post_processor_request_object
822+
command.response_representation = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse::Representation
823+
command.response_class = Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaProvisionClientPostProcessorResponse
824+
command.params['parent'] = parent unless parent.nil?
825+
command.query['fields'] = fields unless fields.nil?
826+
command.query['quotaUser'] = quota_user unless quota_user.nil?
827+
execute_or_queue_command(command, &block)
828+
end
829+
797830
# Update run-as service account for provisioned client
798831
# @param [String] parent
799832
# Required. Required: The ID of the GCP Project to be provisioned.

0 commit comments

Comments
 (0)