diff --git a/api_names_out.yaml b/api_names_out.yaml index e8045f87f..7419d49e2 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -132166,6 +132166,7 @@ "/servicecontrol:v2/Resource/name": name "/servicecontrol:v2/Resource/service": service "/servicecontrol:v2/Resource/type": type +"/servicecontrol:v2/Resource/uid": uid "/servicecontrol:v2/ResourceInfo": resource_info "/servicecontrol:v2/ResourceInfo/name": name "/servicecontrol:v2/ResourceInfo/permission": permission @@ -132183,6 +132184,7 @@ "/servicecontrol:v2/Response/time": time "/servicecontrol:v2/ServiceAccountDelegationInfo": service_account_delegation_info "/servicecontrol:v2/ServiceAccountDelegationInfo/firstPartyPrincipal": first_party_principal +"/servicecontrol:v2/ServiceAccountDelegationInfo/principalSubject": principal_subject "/servicecontrol:v2/ServiceAccountDelegationInfo/thirdPartyPrincipal": third_party_principal "/servicecontrol:v2/SpanContext": span_context "/servicecontrol:v2/SpanContext/spanName": span_name diff --git a/generated/google/apis/servicecontrol_v2.rb b/generated/google/apis/servicecontrol_v2.rb index 289ea37fc..e4304e729 100644 --- a/generated/google/apis/servicecontrol_v2.rb +++ b/generated/google/apis/servicecontrol_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV2 VERSION = 'V2' - REVISION = '20200917' + REVISION = '20201016' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicecontrol_v2/classes.rb b/generated/google/apis/servicecontrol_v2/classes.rb index 785511bbe..f8af81161 100644 --- a/generated/google/apis/servicecontrol_v2/classes.rb +++ b/generated/google/apis/servicecontrol_v2/classes.rb @@ -848,6 +848,15 @@ module Google # @return [String] attr_accessor :type + # The unique identifier of the resource. UID is unique in the time and space for + # this resource within the scope of the service. It is typically generated by + # the server on successful creation of a resource and must not be changed. UID + # is used to uniquely identify resources with resource name reuses. This should + # be a UUID4. + # Corresponds to the JSON property `uid` + # @return [String] + attr_accessor :uid + def initialize(**args) update!(**args) end @@ -858,6 +867,7 @@ module Google @name = args[:name] if args.key?(:name) @service = args[:service] if args.key?(:service) @type = args[:type] if args.key?(:type) + @uid = args[:uid] if args.key?(:uid) end end @@ -974,6 +984,12 @@ module Google # @return [Google::Apis::ServicecontrolV2::FirstPartyPrincipal] attr_accessor :first_party_principal + # A string representing the principal_subject associated with the identity. See + # go/3pical for more info on how principal_subject is formatted. + # Corresponds to the JSON property `principalSubject` + # @return [String] + attr_accessor :principal_subject + # Third party identity principal. # Corresponds to the JSON property `thirdPartyPrincipal` # @return [Google::Apis::ServicecontrolV2::ThirdPartyPrincipal] @@ -986,6 +1002,7 @@ module Google # Update properties of this object def update!(**args) @first_party_principal = args[:first_party_principal] if args.key?(:first_party_principal) + @principal_subject = args[:principal_subject] if args.key?(:principal_subject) @third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal) end end diff --git a/generated/google/apis/servicecontrol_v2/representations.rb b/generated/google/apis/servicecontrol_v2/representations.rb index e22367ef7..ebda52c2b 100644 --- a/generated/google/apis/servicecontrol_v2/representations.rb +++ b/generated/google/apis/servicecontrol_v2/representations.rb @@ -338,6 +338,7 @@ module Google property :name, as: 'name' property :service, as: 'service' property :type, as: 'type' + property :uid, as: 'uid' end end @@ -373,6 +374,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :first_party_principal, as: 'firstPartyPrincipal', class: Google::Apis::ServicecontrolV2::FirstPartyPrincipal, decorator: Google::Apis::ServicecontrolV2::FirstPartyPrincipal::Representation + property :principal_subject, as: 'principalSubject' property :third_party_principal, as: 'thirdPartyPrincipal', class: Google::Apis::ServicecontrolV2::ThirdPartyPrincipal, decorator: Google::Apis::ServicecontrolV2::ThirdPartyPrincipal::Representation end diff --git a/generated/google/apis/servicecontrol_v2/synth.metadata b/generated/google/apis/servicecontrol_v2/synth.metadata index 429012f74..18c7c00a0 100644 --- a/generated/google/apis/servicecontrol_v2/synth.metadata +++ b/generated/google/apis/servicecontrol_v2/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "4ff96cf63bea9596177ae0f8b91b1cdc83e4ce81" } } ]