feat: Automated regeneration of datafusion v1 client (#2253)

This commit is contained in:
Yoshi Automation Bot 2021-01-08 08:43:13 -08:00 committed by GitHub
parent c6bbfd62e3
commit cb372fae5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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<String,String>]
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)

View File

@ -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

View File

@ -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'

View File

@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
"sha": "c6bbfd62e37cc5a444d49a6576fda907b3bfb9b5"
}
}
]