Skip to content

Commit 38a78fd

Browse files
feat: Automated regeneration of datafusion v1beta1 client (googleapis#23416)
Auto-created at 2025-06-15 09:58:24 +0000 using the toys pull request generator.
1 parent 1873033 commit 38a78fd

File tree

5 files changed

+36
-26
lines changed

5 files changed

+36
-26
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145742,6 +145742,7 @@
145742145742
"/datafusion:v1beta1/datafusion.projects.locations.instances.create/instanceId": instance_id
145743145743
"/datafusion:v1beta1/datafusion.projects.locations.instances.create/parent": parent
145744145744
"/datafusion:v1beta1/datafusion.projects.locations.instances.delete": delete_project_location_instance
145745+
"/datafusion:v1beta1/datafusion.projects.locations.instances.delete/force": force
145745145746
"/datafusion:v1beta1/datafusion.projects.locations.instances.delete/name": name
145746145747
"/datafusion:v1beta1/datafusion.projects.locations.instances.dnsPeerings.add": add_dns_peering
145747145748
"/datafusion:v1beta1/datafusion.projects.locations.instances.dnsPeerings.add/parent": parent

generated/google-apis-datafusion_v1beta1/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-datafusion_v1beta1
22

3+
### v0.38.0 (2025-06-15)
4+
5+
* Regenerated from discovery document revision 20250610
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.37.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

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

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ def update!(**args)
237237
class CryptoKeyConfig
238238
include Google::Apis::Core::Hashable
239239

240-
# The name of the key which is used to encrypt/decrypt customer data. For key in
241-
# Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/
242-
# */cryptoKeys/*`.
240+
# Optional. The name of the key which is used to encrypt/decrypt customer data.
241+
# For key in Cloud KMS, the key should be in the format of `projects/*/locations/
242+
# */keyRings/*/cryptoKeys/*`.
243243
# Corresponds to the JSON property `keyReference`
244244
# @return [String]
245245
attr_accessor :key_reference
@@ -269,8 +269,8 @@ class DnsPeering
269269
# @return [String]
270270
attr_accessor :domain
271271

272-
# Required. The resource name of the dns peering zone. Format: projects/`project`
273-
# /locations/`location`/instances/`instance`/dnsPeerings/`dns_peering`
272+
# Identifier. The resource name of the dns peering zone. Format: projects/`
273+
# project`/locations/`location`/instances/`instance`/dnsPeerings/`dns_peering`
274274
# Corresponds to the JSON property `name`
275275
# @return [String]
276276
attr_accessor :name
@@ -490,14 +490,14 @@ class Instance
490490
attr_accessor :dataplex_data_lineage_integration_enabled
491491
alias_method :dataplex_data_lineage_integration_enabled?, :dataplex_data_lineage_integration_enabled
492492

493-
# User-managed service account to set on Dataproc when Cloud Data Fusion creates
494-
# Dataproc to run data processing pipelines. This allows users to have fine-
495-
# grained access control on Dataproc's accesses to cloud resources.
493+
# Optional. User-managed service account to set on Dataproc when Cloud Data
494+
# Fusion creates Dataproc to run data processing pipelines. This allows users to
495+
# have fine-grained access control on Dataproc's accesses to cloud resources.
496496
# Corresponds to the JSON property `dataprocServiceAccount`
497497
# @return [String]
498498
attr_accessor :dataproc_service_account
499499

500-
# A description of this instance.
500+
# Optional. A description of this instance.
501501
# Corresponds to the JSON property `description`
502502
# @return [String]
503503
attr_accessor :description
@@ -508,30 +508,30 @@ class Instance
508508
# @return [Array<String>]
509509
attr_accessor :disabled_reason
510510

511-
# Display name for an instance.
511+
# Optional. Display name for an instance.
512512
# Corresponds to the JSON property `displayName`
513513
# @return [String]
514514
attr_accessor :display_name
515515

516-
# Option to enable granular role-based access control.
516+
# Optional. Option to enable granular role-based access control.
517517
# Corresponds to the JSON property `enableRbac`
518518
# @return [Boolean]
519519
attr_accessor :enable_rbac
520520
alias_method :enable_rbac?, :enable_rbac
521521

522-
# Option to enable Dataproc Stackdriver Logging.
522+
# Optional. Option to enable Dataproc Stackdriver Logging.
523523
# Corresponds to the JSON property `enableStackdriverLogging`
524524
# @return [Boolean]
525525
attr_accessor :enable_stackdriver_logging
526526
alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
527527

528-
# Option to enable Stackdriver Monitoring.
528+
# Optional. Option to enable Stackdriver Monitoring.
529529
# Corresponds to the JSON property `enableStackdriverMonitoring`
530530
# @return [Boolean]
531531
attr_accessor :enable_stackdriver_monitoring
532532
alias_method :enable_stackdriver_monitoring?, :enable_stackdriver_monitoring
533533

534-
# Option to enable zone separation.
534+
# Output only. Option to enable zone separation.
535535
# Corresponds to the JSON property `enableZoneSeparation`
536536
# @return [Boolean]
537537
attr_accessor :enable_zone_separation
@@ -586,8 +586,8 @@ class Instance
586586
# @return [Google::Apis::DatafusionV1beta1::NetworkConfig]
587587
attr_accessor :network_config
588588

589-
# Map of additional options used to configure the behavior of Data Fusion
590-
# instance.
589+
# Optional. Map of additional options used to configure the behavior of Data
590+
# Fusion instance.
591591
# Corresponds to the JSON property `options`
592592
# @return [Hash<String,String>]
593593
attr_accessor :options
@@ -602,9 +602,9 @@ class Instance
602602
# @return [String]
603603
attr_accessor :patch_revision
604604

605-
# Specifies whether the Data Fusion instance should be private. If set to true,
606-
# all Data Fusion nodes will have private IP addresses and will not be able to
607-
# access the public internet.
605+
# Optional. Specifies whether the Data Fusion instance should be private. If set
606+
# to true, all Data Fusion nodes will have private IP addresses and will not be
607+
# able to access the public internet.
608608
# Corresponds to the JSON property `privateInstance`
609609
# @return [Boolean]
610610
attr_accessor :private_instance
@@ -666,7 +666,7 @@ class Instance
666666
# @return [String]
667667
attr_accessor :update_time
668668

669-
# Current version of Data Fusion.
669+
# Optional. Current version of Data Fusion.
670670
# Corresponds to the JSON property `version`
671671
# @return [String]
672672
attr_accessor :version
@@ -677,8 +677,8 @@ class Instance
677677
# @return [String]
678678
attr_accessor :workforce_identity_service_endpoint
679679

680-
# Name of the zone in which the Data Fusion instance will be created. Only
681-
# DEVELOPER instances use this field.
680+
# Optional. Name of the zone in which the Data Fusion instance will be created.
681+
# Only DEVELOPER instances use this field.
682682
# Corresponds to the JSON property `zone`
683683
# @return [String]
684684
attr_accessor :zone

generated/google-apis-datafusion_v1beta1/lib/google/apis/datafusion_v1beta1/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 DatafusionV1beta1
1818
# Version of the google-apis-datafusion_v1beta1 gem
19-
GEM_VERSION = "0.37.0"
19+
GEM_VERSION = "0.38.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 = "20250414"
25+
REVISION = "20250610"
2626
end
2727
end
2828
end

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ def create_project_location_instance(parent, instance_object = nil, instance_id:
210210
# @param [String] name
211211
# Required. The instance resource name in the format projects/`project`/
212212
# locations/`location`/instances/`instance`
213+
# @param [Boolean] force
214+
# Optional. If set to true, any nested resources from this instance will also be
215+
# deleted.
213216
# @param [String] fields
214217
# Selector specifying which fields to include in a partial response.
215218
# @param [String] quota_user
@@ -227,11 +230,12 @@ def create_project_location_instance(parent, instance_object = nil, instance_id:
227230
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
228231
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
229232
# @raise [Google::Apis::AuthorizationError] Authorization is required
230-
def delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
233+
def delete_project_location_instance(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
231234
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
232235
command.response_representation = Google::Apis::DatafusionV1beta1::Operation::Representation
233236
command.response_class = Google::Apis::DatafusionV1beta1::Operation
234237
command.params['name'] = name unless name.nil?
238+
command.query['force'] = force unless force.nil?
235239
command.query['fields'] = fields unless fields.nil?
236240
command.query['quotaUser'] = quota_user unless quota_user.nil?
237241
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)