Class: Google::Apis::IamV1::OwnerService

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb

Overview

The Google Cloud service that owns this namespace.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OwnerService

Returns a new instance of OwnerService.



1944
1945
1946
# File 'lib/google/apis/iam_v1/classes.rb', line 1944

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#principal_subjectString

Required. The service agent principal subject, e.g. "serviceAccount:service- 1234@gcp-sa-gkehub.iam.gserviceaccount.com". Corresponds to the JSON property principalSubject

Returns:

  • (String)


1942
1943
1944
# File 'lib/google/apis/iam_v1/classes.rb', line 1942

def principal_subject
  @principal_subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1949
1950
1951
# File 'lib/google/apis/iam_v1/classes.rb', line 1949

def update!(**args)
  @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
end