Autogenerated update (2019-02-24)
Update: - servicecontrol_v1
This commit is contained in:
parent
ebe77b23ce
commit
6212214193
|
@ -90759,6 +90759,8 @@
|
|||
"/servicecontrol:v1/AuthenticationInfo": authentication_info
|
||||
"/servicecontrol:v1/AuthenticationInfo/authoritySelector": authority_selector
|
||||
"/servicecontrol:v1/AuthenticationInfo/principalEmail": principal_email
|
||||
"/servicecontrol:v1/AuthenticationInfo/serviceAccountDelegationInfo": service_account_delegation_info
|
||||
"/servicecontrol:v1/AuthenticationInfo/serviceAccountDelegationInfo/service_account_delegation_info": service_account_delegation_info
|
||||
"/servicecontrol:v1/AuthenticationInfo/serviceAccountKeyName": service_account_key_name
|
||||
"/servicecontrol:v1/AuthenticationInfo/thirdPartyPrincipal": third_party_principal
|
||||
"/servicecontrol:v1/AuthenticationInfo/thirdPartyPrincipal/third_party_principal": third_party_principal
|
||||
|
@ -90820,6 +90822,10 @@
|
|||
"/servicecontrol:v1/ExponentialBuckets/growthFactor": growth_factor
|
||||
"/servicecontrol:v1/ExponentialBuckets/numFiniteBuckets": num_finite_buckets
|
||||
"/servicecontrol:v1/ExponentialBuckets/scale": scale
|
||||
"/servicecontrol:v1/FirstPartyPrincipal": first_party_principal
|
||||
"/servicecontrol:v1/FirstPartyPrincipal/principalEmail": principal_email
|
||||
"/servicecontrol:v1/FirstPartyPrincipal/serviceMetadata": service_metadata
|
||||
"/servicecontrol:v1/FirstPartyPrincipal/serviceMetadata/service_metadatum": service_metadatum
|
||||
"/servicecontrol:v1/HttpRequest": http_request
|
||||
"/servicecontrol:v1/HttpRequest/cacheFillBytes": cache_fill_bytes
|
||||
"/servicecontrol:v1/HttpRequest/cacheHit": cache_hit
|
||||
|
@ -90994,6 +91000,9 @@
|
|||
"/servicecontrol:v1/ResourceLocation/currentLocations/current_location": current_location
|
||||
"/servicecontrol:v1/ResourceLocation/originalLocations": original_locations
|
||||
"/servicecontrol:v1/ResourceLocation/originalLocations/original_location": original_location
|
||||
"/servicecontrol:v1/ServiceAccountDelegationInfo": service_account_delegation_info
|
||||
"/servicecontrol:v1/ServiceAccountDelegationInfo/firstPartyPrincipal": first_party_principal
|
||||
"/servicecontrol:v1/ServiceAccountDelegationInfo/thirdPartyPrincipal": third_party_principal
|
||||
"/servicecontrol:v1/StartReconciliationRequest": start_reconciliation_request
|
||||
"/servicecontrol:v1/StartReconciliationRequest/reconciliationOperation": reconciliation_operation
|
||||
"/servicecontrol:v1/StartReconciliationRequest/serviceConfigId": service_config_id
|
||||
|
@ -91010,6 +91019,9 @@
|
|||
"/servicecontrol:v1/Status/details/detail": detail
|
||||
"/servicecontrol:v1/Status/details/detail/detail": detail
|
||||
"/servicecontrol:v1/Status/message": message
|
||||
"/servicecontrol:v1/ThirdPartyPrincipal": third_party_principal
|
||||
"/servicecontrol:v1/ThirdPartyPrincipal/thirdPartyClaims": third_party_claims
|
||||
"/servicecontrol:v1/ThirdPartyPrincipal/thirdPartyClaims/third_party_claim": third_party_claim
|
||||
"/servicecontrol:v1/fields": fields
|
||||
"/servicecontrol:v1/key": key
|
||||
"/servicecontrol:v1/quotaUser": quota_user
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue