From cb372fae5feab758b11b9614758022785a39679a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 8 Jan 2021 08:43:13 -0800 Subject: [PATCH] feat: Automated regeneration of datafusion v1 client (#2253) --- api_names_out.yaml | 3 +++ .../google-apis-datafusion_v1/CHANGELOG.md | 4 ++++ .../lib/google/apis/datafusion_v1/classes.rb | 21 ++++++++++++------- .../google/apis/datafusion_v1/gem_version.rb | 4 ++-- .../apis/datafusion_v1/representations.rb | 3 ++- .../google-apis-datafusion_v1/synth.metadata | 2 +- 6 files changed, 26 insertions(+), 11 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index ba527eeda..b6adad70e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -64096,6 +64096,7 @@ "/dataflow:v1b3/quotaUser": quota_user "/datafusion:v1/Accelerator": accelerator "/datafusion:v1/Accelerator/acceleratorType": accelerator_type +"/datafusion:v1/Accelerator/state": state "/datafusion:v1/AuditConfig": audit_config "/datafusion:v1/AuditConfig/auditLogConfigs": audit_log_configs "/datafusion:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config @@ -64185,6 +64186,8 @@ "/datafusion:v1/Operation/response": response "/datafusion:v1/Operation/response/response": response "/datafusion:v1/OperationMetadata": operation_metadata +"/datafusion:v1/OperationMetadata/additionalStatus": additional_status +"/datafusion:v1/OperationMetadata/additionalStatus/additional_status": additional_status "/datafusion:v1/OperationMetadata/apiVersion": api_version "/datafusion:v1/OperationMetadata/createTime": create_time "/datafusion:v1/OperationMetadata/endTime": end_time diff --git a/generated/google-apis-datafusion_v1/CHANGELOG.md b/generated/google-apis-datafusion_v1/CHANGELOG.md index eacd213d6..1c72f67c4 100644 --- a/generated/google-apis-datafusion_v1/CHANGELOG.md +++ b/generated/google-apis-datafusion_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-datafusion_v1 +### v0.2.0 (2021-01-08) + +* Regenerated from discovery document revision 20210107 + ### v0.1.0 (2021-01-07) * Regenerated using generator version 0.1.1 diff --git a/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/classes.rb b/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/classes.rb index 76e735712..4c3121830 100644 --- a/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/classes.rb +++ b/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/classes.rb @@ -31,6 +31,11 @@ module Google # @return [String] attr_accessor :accelerator_type + # The state of the accelerator + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + def initialize(**args) update!(**args) end @@ -38,6 +43,7 @@ module Google # Update properties of this object def update!(**args) @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type) + @state = args[:state] if args.key?(:state) end end @@ -116,12 +122,6 @@ module Google class Binding include Google::Apis::Core::Hashable - # A client-specified ID for this binding. Expected to be globally unique to - # support the internal bindings-by-ID API. - # Corresponds to the JSON property `bindingId` - # @return [String] - attr_accessor :binding_id - # Represents a textual expression in the Common Expression Language (CEL) syntax. # CEL is a C-like expression language. The syntax and semantics of CEL are # documented at https://github.com/google/cel-spec. Example (Comparison): title: @@ -183,7 +183,6 @@ module Google # Update properties of this object def update!(**args) - @binding_id = args[:binding_id] if args.key?(:binding_id) @condition = args[:condition] if args.key?(:condition) @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) @@ -714,6 +713,13 @@ module Google class OperationMetadata include Google::Apis::Core::Hashable + # Map to hold any additonal status info for the operation If there is an + # accelerator being enabled/disabled/deleted, this will be populated with + # accelerator name as key and status as ENABLING, DISABLING or DELETING + # Corresponds to the JSON property `additionalStatus` + # @return [Hash] + attr_accessor :additional_status + # API version used to start the operation. # Corresponds to the JSON property `apiVersion` # @return [String] @@ -758,6 +764,7 @@ module Google # Update properties of this object def update!(**args) + @additional_status = args[:additional_status] if args.key?(:additional_status) @api_version = args[:api_version] if args.key?(:api_version) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) diff --git a/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/gem_version.rb b/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/gem_version.rb index 9d8a61d53..816687b26 100644 --- a/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/gem_version.rb +++ b/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DatafusionV1 # Version of the google-apis-datafusion_v1 gem - GEM_VERSION = "0.1.0" + GEM_VERSION = "0.2.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.1.1" # Revision of the discovery document this client was generated from - REVISION = "20200928" + REVISION = "20210107" end end end diff --git a/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/representations.rb b/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/representations.rb index 6bbafa3fc..e7c68132e 100644 --- a/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/representations.rb +++ b/generated/google-apis-datafusion_v1/lib/google/apis/datafusion_v1/representations.rb @@ -164,6 +164,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :accelerator_type, as: 'acceleratorType' + property :state, as: 'state' end end @@ -187,7 +188,6 @@ module Google class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation - property :binding_id, as: 'bindingId' property :condition, as: 'condition', class: Google::Apis::DatafusionV1::Expr, decorator: Google::Apis::DatafusionV1::Expr::Representation collection :members, as: 'members' @@ -322,6 +322,7 @@ module Google class OperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :additional_status, as: 'additionalStatus' property :api_version, as: 'apiVersion' property :create_time, as: 'createTime' property :end_time, as: 'endTime' diff --git a/generated/google-apis-datafusion_v1/synth.metadata b/generated/google-apis-datafusion_v1/synth.metadata index 429012f74..b1bac7fed 100644 --- a/generated/google-apis-datafusion_v1/synth.metadata +++ b/generated/google-apis-datafusion_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "c6bbfd62e37cc5a444d49a6576fda907b3bfb9b5" } } ]