feat: Automated regeneration of servicenetworking v1beta client
This commit is contained in:
parent
4c185d1b75
commit
8257a88154
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
||||||
module ServicenetworkingV1beta
|
module ServicenetworkingV1beta
|
||||||
VERSION = 'V1beta'
|
VERSION = 'V1beta'
|
||||||
REVISION = '20201015'
|
REVISION = '20201020'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1586,13 +1586,6 @@ module Google
|
||||||
# @return [Array<Google::Apis::ServicenetworkingV1beta::HttpRule>]
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::HttpRule>]
|
||||||
attr_accessor :additional_bindings
|
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,
|
# 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
|
# 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. NOTE: the referred
|
# HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
|
||||||
|
@ -1652,7 +1645,6 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
@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)
|
@body = args[:body] if args.key?(:body)
|
||||||
@custom = args[:custom] if args.key?(:custom)
|
@custom = args[:custom] if args.key?(:custom)
|
||||||
@delete = args[:delete] if args.key?(:delete)
|
@delete = args[:delete] if args.key?(:delete)
|
||||||
|
@ -2935,10 +2927,7 @@ module Google
|
||||||
# @return [Google::Apis::ServicenetworkingV1beta::Billing]
|
# @return [Google::Apis::ServicenetworkingV1beta::Billing]
|
||||||
attr_accessor :billing
|
attr_accessor :billing
|
||||||
|
|
||||||
# The semantic version of the service configuration. The config version affects
|
# This field is obsolete. Its value must be set to `3`.
|
||||||
# the interpretation of the service configuration. For example, certain features
|
|
||||||
# are enabled by default for certain config versions. The latest config version
|
|
||||||
# is `3`.
|
|
||||||
# Corresponds to the JSON property `configVersion`
|
# Corresponds to the JSON property `configVersion`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :config_version
|
attr_accessor :config_version
|
||||||
|
@ -3203,44 +3192,6 @@ module Google
|
||||||
end
|
end
|
||||||
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 ServiceIdentity
|
|
||||||
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
|
|
||||||
|
|
||||||
# `SourceContext` represents information about the source of a protobuf element,
|
# `SourceContext` represents information about the source of a protobuf element,
|
||||||
# like the file in which it is defined.
|
# like the file in which it is defined.
|
||||||
class SourceContext
|
class SourceContext
|
||||||
|
@ -3546,15 +3497,6 @@ module Google
|
||||||
# @return [Array<Google::Apis::ServicenetworkingV1beta::UsageRule>]
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::UsageRule>]
|
||||||
attr_accessor :rules
|
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::ServicenetworkingV1beta::ServiceIdentity]
|
|
||||||
attr_accessor :service_identity
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -3564,7 +3506,6 @@ module Google
|
||||||
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
||||||
@requirements = args[:requirements] if args.key?(:requirements)
|
@requirements = args[:requirements] if args.key?(:requirements)
|
||||||
@rules = args[:rules] if args.key?(:rules)
|
@rules = args[:rules] if args.key?(:rules)
|
||||||
@service_identity = args[:service_identity] if args.key?(:service_identity)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -424,12 +424,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ServiceIdentity
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SourceContext
|
class SourceContext
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -850,7 +844,6 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServicenetworkingV1beta::HttpRule, decorator: Google::Apis::ServicenetworkingV1beta::HttpRule::Representation
|
collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServicenetworkingV1beta::HttpRule, decorator: Google::Apis::ServicenetworkingV1beta::HttpRule::Representation
|
||||||
|
|
||||||
property :allow_half_duplex, as: 'allowHalfDuplex'
|
|
||||||
property :body, as: 'body'
|
property :body, as: 'body'
|
||||||
property :custom, as: 'custom', class: Google::Apis::ServicenetworkingV1beta::CustomHttpPattern, decorator: Google::Apis::ServicenetworkingV1beta::CustomHttpPattern::Representation
|
property :custom, as: 'custom', class: Google::Apis::ServicenetworkingV1beta::CustomHttpPattern, decorator: Google::Apis::ServicenetworkingV1beta::CustomHttpPattern::Representation
|
||||||
|
|
||||||
|
@ -1198,15 +1191,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ServiceIdentity
|
|
||||||
# @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 SourceContext
|
class SourceContext
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1294,8 +1278,6 @@ module Google
|
||||||
collection :requirements, as: 'requirements'
|
collection :requirements, as: 'requirements'
|
||||||
collection :rules, as: 'rules', class: Google::Apis::ServicenetworkingV1beta::UsageRule, decorator: Google::Apis::ServicenetworkingV1beta::UsageRule::Representation
|
collection :rules, as: 'rules', class: Google::Apis::ServicenetworkingV1beta::UsageRule, decorator: Google::Apis::ServicenetworkingV1beta::UsageRule::Representation
|
||||||
|
|
||||||
property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServicenetworkingV1beta::ServiceIdentity, decorator: Google::Apis::ServicenetworkingV1beta::ServiceIdentity::Representation
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -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": "cb0c5bf94e2b1c915107eec83041d4409c900155"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue