feat: Automated regeneration of datafusion v1beta1 client (#2254)
This commit is contained in:
parent
cb372fae5f
commit
9decc6ed53
|
@ -64406,6 +64406,8 @@
|
||||||
"/datafusion:v1beta1/Policy/rules": rules
|
"/datafusion:v1beta1/Policy/rules": rules
|
||||||
"/datafusion:v1beta1/Policy/rules/rule": rule
|
"/datafusion:v1beta1/Policy/rules/rule": rule
|
||||||
"/datafusion:v1beta1/Policy/version": version
|
"/datafusion:v1beta1/Policy/version": version
|
||||||
|
"/datafusion:v1beta1/RemoveIamPolicyRequest": remove_iam_policy_request
|
||||||
|
"/datafusion:v1beta1/RemoveIamPolicyResponse": remove_iam_policy_response
|
||||||
"/datafusion:v1beta1/RestartInstanceRequest": restart_instance_request
|
"/datafusion:v1beta1/RestartInstanceRequest": restart_instance_request
|
||||||
"/datafusion:v1beta1/Rule": rule
|
"/datafusion:v1beta1/Rule": rule
|
||||||
"/datafusion:v1beta1/Rule/action": action
|
"/datafusion:v1beta1/Rule/action": action
|
||||||
|
@ -64492,6 +64494,8 @@
|
||||||
"/datafusion:v1beta1/datafusion.projects.locations.versions.list/pageSize": page_size
|
"/datafusion:v1beta1/datafusion.projects.locations.versions.list/pageSize": page_size
|
||||||
"/datafusion:v1beta1/datafusion.projects.locations.versions.list/pageToken": page_token
|
"/datafusion:v1beta1/datafusion.projects.locations.versions.list/pageToken": page_token
|
||||||
"/datafusion:v1beta1/datafusion.projects.locations.versions.list/parent": parent
|
"/datafusion:v1beta1/datafusion.projects.locations.versions.list/parent": parent
|
||||||
|
"/datafusion:v1beta1/datafusion.projects.removeIamPolicy": remove_project_iam_policy
|
||||||
|
"/datafusion:v1beta1/datafusion.projects.removeIamPolicy/resource": resource
|
||||||
"/datafusion:v1beta1/fields": fields
|
"/datafusion:v1beta1/fields": fields
|
||||||
"/datafusion:v1beta1/key": key
|
"/datafusion:v1beta1/key": key
|
||||||
"/datafusion:v1beta1/quotaUser": quota_user
|
"/datafusion:v1beta1/quotaUser": quota_user
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
# Release history for google-apis-datafusion_v1beta1
|
# Release history for google-apis-datafusion_v1beta1
|
||||||
|
|
||||||
|
### v0.2.0 (2021-01-08)
|
||||||
|
|
||||||
|
* Regenerated from discovery document revision 20210107
|
||||||
|
|
||||||
### v0.1.0 (2021-01-07)
|
### v0.1.0 (2021-01-07)
|
||||||
|
|
||||||
* Regenerated using generator version 0.1.1
|
* Regenerated using generator version 0.1.1
|
||||||
|
|
|
@ -116,12 +116,6 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
include Google::Apis::Core::Hashable
|
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.
|
# 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
|
# 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:
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
||||||
|
@ -183,7 +177,6 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
|
||||||
@condition = args[:condition] if args.key?(:condition)
|
@condition = args[:condition] if args.key?(:condition)
|
||||||
@members = args[:members] if args.key?(:members)
|
@members = args[:members] if args.key?(:members)
|
||||||
@role = args[:role] if args.key?(:role)
|
@role = args[:role] if args.key?(:role)
|
||||||
|
@ -418,7 +411,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
|
||||||
# Name of the zone in which the Data Fusion instance will be created.
|
# Name of the zone in which the Data Fusion instance will be created. Only
|
||||||
|
# DEVELOPER instances use this field.
|
||||||
# Corresponds to the JSON property `zone`
|
# Corresponds to the JSON property `zone`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :zone
|
attr_accessor :zone
|
||||||
|
@ -857,6 +851,32 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Request message for RemoveIamPolicy method.
|
||||||
|
class RemoveIamPolicyRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Response message for RemoveIamPolicy method.
|
||||||
|
class RemoveIamPolicyResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Request message for restarting a Data Fusion instance.
|
# Request message for restarting a Data Fusion instance.
|
||||||
class RestartInstanceRequest
|
class RestartInstanceRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -16,13 +16,13 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module DatafusionV1beta1
|
module DatafusionV1beta1
|
||||||
# Version of the google-apis-datafusion_v1beta1 gem
|
# Version of the google-apis-datafusion_v1beta1 gem
|
||||||
GEM_VERSION = "0.1.0"
|
GEM_VERSION = "0.2.0"
|
||||||
|
|
||||||
# Version of the code generator used to generate this client
|
# Version of the code generator used to generate this client
|
||||||
GENERATOR_VERSION = "0.1.1"
|
GENERATOR_VERSION = "0.1.1"
|
||||||
|
|
||||||
# Revision of the discovery document this client was generated from
|
# Revision of the discovery document this client was generated from
|
||||||
REVISION = "20200901"
|
REVISION = "20210107"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -124,6 +124,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RemoveIamPolicyRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class RemoveIamPolicyResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class RestartInstanceRequest
|
class RestartInstanceRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -193,7 +205,6 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :binding_id, as: 'bindingId'
|
|
||||||
property :condition, as: 'condition', class: Google::Apis::DatafusionV1beta1::Expr, decorator: Google::Apis::DatafusionV1beta1::Expr::Representation
|
property :condition, as: 'condition', class: Google::Apis::DatafusionV1beta1::Expr, decorator: Google::Apis::DatafusionV1beta1::Expr::Representation
|
||||||
|
|
||||||
collection :members, as: 'members'
|
collection :members, as: 'members'
|
||||||
|
@ -350,6 +361,18 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RemoveIamPolicyRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class RemoveIamPolicyResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class RestartInstanceRequest
|
class RestartInstanceRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -55,6 +55,39 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Remove IAM policy that is currently set on the given resource.
|
||||||
|
# @param [String] resource
|
||||||
|
# The resource on which IAM policy to be removed is attached to.
|
||||||
|
# @param [Google::Apis::DatafusionV1beta1::RemoveIamPolicyRequest] remove_iam_policy_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DatafusionV1beta1::RemoveIamPolicyResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DatafusionV1beta1::RemoveIamPolicyResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def remove_project_iam_policy(resource, remove_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1beta1/{+resource}:removeIamPolicy', options)
|
||||||
|
command.request_representation = Google::Apis::DatafusionV1beta1::RemoveIamPolicyRequest::Representation
|
||||||
|
command.request_object = remove_iam_policy_request_object
|
||||||
|
command.response_representation = Google::Apis::DatafusionV1beta1::RemoveIamPolicyResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DatafusionV1beta1::RemoveIamPolicyResponse
|
||||||
|
command.params['resource'] = resource unless resource.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Gets information about a location.
|
# Gets information about a location.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name for the location.
|
# Resource name for the location.
|
||||||
|
@ -164,7 +197,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a single Date Fusion instance.
|
# Deletes a single Data Fusion instance.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The instance resource name in the format projects/`project`/locations/`
|
# The instance resource name in the format projects/`project`/locations/`
|
||||||
# location`/instances/`instance`
|
# location`/instances/`instance`
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"git": {
|
"git": {
|
||||||
"name": ".",
|
"name": ".",
|
||||||
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
|
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
|
||||||
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
|
"sha": "c6bbfd62e37cc5a444d49a6576fda907b3bfb9b5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue