Autogenerated update (2020-01-16)
Update: - accesscontextmanager_v1 - datafusion_v1beta1 - serviceconsumermanagement_v1 - servicenetworking_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1
This commit is contained in:
1 parent
0a5261b583
commit
9449867bbe
34 files changed
+6138
-512
No files matched your search
@@ -1750,6 +1750,48 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# The per-product per-project service identity for a service.
|
||||
# Use this field to configure per-product per-project service identity.
|
||||
# Example of a service identity configuration.
|
||||
# usage:
|
||||
# service_identity:
|
||||
# - service_account_parent: "projects/123456789"
|
||||
# display_name: "Cloud XXX Service Agent"
|
||||
# description: "Used as the identity of Cloud XXX to access resources"
|
||||
class GoogleApiServiceIdentity
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. A user-specified opaque description of the service account.
|
||||
# Must be less than or equal to 256 UTF-8 bytes.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Optional. A user-specified name for the service account.
|
||||
# Must be less than or equal to 100 UTF-8 bytes.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# A service account project that hosts the service accounts.
|
||||
# An example name would be:
|
||||
# `projects/123456789`
|
||||
# Corresponds to the JSON property `serviceAccountParent`
|
||||
# @return [String]
|
||||
attr_accessor :service_account_parent
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
|
||||
end
|
||||
end
|
||||
|
||||
# The operation metadata returned for the batchend services operation.
|
||||
class GoogleApiServiceusageV1OperationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -2296,6 +2338,13 @@ module Google
|
||||
# @return [Array<Google::Apis::ServiceusageV1::HttpRule>]
|
||||
attr_accessor :additional_bindings
|
||||
|
||||
# When this flag is set to true, HTTP requests will be allowed to invoke a
|
||||
# half-duplex streaming method.
|
||||
# Corresponds to the JSON property `allowHalfDuplex`
|
||||
# @return [Boolean]
|
||||
attr_accessor :allow_half_duplex
|
||||
alias_method :allow_half_duplex?, :allow_half_duplex
|
||||
|
||||
# The name of the request field whose value is mapped to the HTTP request
|
||||
# body, or `*` for mapping all request fields not captured by the path
|
||||
# pattern to the HTTP body, or omitted for not having any HTTP request body.
|
||||
@@ -2358,6 +2407,7 @@ module Google
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
||||
@allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
|
||||
@body = args[:body] if args.key?(:body)
|
||||
@custom = args[:custom] if args.key?(:custom)
|
||||
@delete = args[:delete] if args.key?(:delete)
|
||||
@@ -3878,6 +3928,18 @@ module Google
|
||||
# @return [Array<Google::Apis::ServiceusageV1::UsageRule>]
|
||||
attr_accessor :rules
|
||||
|
||||
# The per-product per-project service identity for a service.
|
||||
# Use this field to configure per-product per-project service identity.
|
||||
# Example of a service identity configuration.
|
||||
# usage:
|
||||
# service_identity:
|
||||
# - service_account_parent: "projects/123456789"
|
||||
# display_name: "Cloud XXX Service Agent"
|
||||
# description: "Used as the identity of Cloud XXX to access resources"
|
||||
# Corresponds to the JSON property `serviceIdentity`
|
||||
# @return [Google::Apis::ServiceusageV1::GoogleApiServiceIdentity]
|
||||
attr_accessor :service_identity
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -3887,6 +3949,7 @@ module Google
|
||||
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
||||
@requirements = args[:requirements] if args.key?(:requirements)
|
||||
@rules = args[:rules] if args.key?(:rules)
|
||||
@service_identity = args[:service_identity] if args.key?(:service_identity)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -226,6 +226,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleApiServiceIdentity
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleApiServiceusageV1OperationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -828,6 +834,15 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleApiServiceIdentity
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :display_name, as: 'displayName'
|
||||
property :service_account_parent, as: 'serviceAccountParent'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleApiServiceusageV1OperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -897,6 +912,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1::HttpRule, decorator: Google::Apis::ServiceusageV1::HttpRule::Representation
|
||||
|
||||
property :allow_half_duplex, as: 'allowHalfDuplex'
|
||||
property :body, as: 'body'
|
||||
property :custom, as: 'custom', class: Google::Apis::ServiceusageV1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1::CustomHttpPattern::Representation
|
||||
|
||||
@@ -1213,6 +1229,8 @@ module Google
|
||||
collection :requirements, as: 'requirements'
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::UsageRule, decorator: Google::Apis::ServiceusageV1::UsageRule::Representation
|
||||
|
||||
property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServiceusageV1::GoogleApiServiceIdentity, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceIdentity::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user