Autogenerated update (2019-02-24)

Update:
- servicecontrol_v1
This commit is contained in:
Google APIs committed 2019-02-24 00:37:02 +00:00
1 parent ebe77b23ce
commit 6212214193
4 files changed
+139 -1

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-control/
module ServicecontrolV1
VERSION = 'V1'
REVISION = '20190211'
REVISION = '20190217'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -387,6 +387,15 @@ module Google
# @return [String]
attr_accessor :principal_email
# Identity delegation history of an authenticated service account that makes
# the request. It contains information on the real authorities that try to
# access GCP resources by delegating on a service account. When multiple
# authorities present, they are guaranteed to be sorted based on the original
# ordering of the identity delegation events.
# Corresponds to the JSON property `serviceAccountDelegationInfo`
# @return [Array<Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo>]
attr_accessor :service_account_delegation_info
# The name of the service account key used to create or exchange
# credentials for authenticating the service account making the request.
# This is a scheme-less URI full resource name. For example:
@@ -412,6 +421,7 @@ module Google
def update!(**args)
@authority_selector = args[:authority_selector] if args.key?(:authority_selector)
@principal_email = args[:principal_email] if args.key?(:principal_email)
@service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
@service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
@third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal)
end
@@ -848,6 +858,33 @@ module Google
end
end
# First party identity principal.
class FirstPartyPrincipal
include Google::Apis::Core::Hashable
# The email address of a Google account.
# .
# Corresponds to the JSON property `principalEmail`
# @return [String]
attr_accessor :principal_email
# Metadata about the service that uses the service account.
# .
# Corresponds to the JSON property `serviceMetadata`
# @return [Hash<String,Object>]
attr_accessor :service_metadata
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@principal_email = args[:principal_email] if args.key?(:principal_email)
@service_metadata = args[:service_metadata] if args.key?(:service_metadata)
end
end
# A common proto for logging HTTP requests. Only contains semantics
# defined by the HTTP specification. Product-specific logging
# information MUST be defined in a separate message.
@@ -2139,6 +2176,31 @@ module Google
end
end
# Identity delegation history of an authenticated service account.
class ServiceAccountDelegationInfo
include Google::Apis::Core::Hashable
# First party identity principal.
# Corresponds to the JSON property `firstPartyPrincipal`
# @return [Google::Apis::ServicecontrolV1::FirstPartyPrincipal]
attr_accessor :first_party_principal
# Third party identity principal.
# Corresponds to the JSON property `thirdPartyPrincipal`
# @return [Google::Apis::ServicecontrolV1::ThirdPartyPrincipal]
attr_accessor :third_party_principal
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@first_party_principal = args[:first_party_principal] if args.key?(:first_party_principal)
@third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal)
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -2210,6 +2272,25 @@ module Google
@message = args[:message] if args.key?(:message)
end
end
# Third party identity principal.
class ThirdPartyPrincipal
include Google::Apis::Core::Hashable
# Metadata about third party identity.
# Corresponds to the JSON property `thirdPartyClaims`
# @return [Hash<String,Object>]
attr_accessor :third_party_claims
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@third_party_claims = args[:third_party_claims] if args.key?(:third_party_claims)
end
end
end
end
end
@@ -112,6 +112,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class FirstPartyPrincipal
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -244,12 +250,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ServiceAccountDelegationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ThirdPartyPrincipal
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AllocateInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -321,6 +339,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :authority_selector, as: 'authoritySelector'
property :principal_email, as: 'principalEmail'
collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo, decorator: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo::Representation
property :service_account_key_name, as: 'serviceAccountKeyName'
hash :third_party_principal, as: 'thirdPartyPrincipal'
end
@@ -425,6 +445,14 @@ module Google
end
end
class FirstPartyPrincipal
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :principal_email, as: 'principalEmail'
hash :service_metadata, as: 'serviceMetadata'
end
end
class HttpRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -691,6 +719,16 @@ module Google
end
end
class ServiceAccountDelegationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :first_party_principal, as: 'firstPartyPrincipal', class: Google::Apis::ServicecontrolV1::FirstPartyPrincipal, decorator: Google::Apis::ServicecontrolV1::FirstPartyPrincipal::Representation
property :third_party_principal, as: 'thirdPartyPrincipal', class: Google::Apis::ServicecontrolV1::ThirdPartyPrincipal, decorator: Google::Apis::ServicecontrolV1::ThirdPartyPrincipal::Representation
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -699,6 +737,13 @@ module Google
property :message, as: 'message'
end
end
class ThirdPartyPrincipal
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :third_party_claims, as: 'thirdPartyClaims'
end
end
end
end
end