Class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1beta1ServiceIdentity
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ServiceusageV1::GoogleApiServiceusageV1beta1ServiceIdentity
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/serviceusage_v1/classes.rb,
lib/google/apis/serviceusage_v1/representations.rb,
lib/google/apis/serviceusage_v1/representations.rb 
Overview
Service identity for a service. This is the identity that service producer should use to access consumer resources.
Instance Attribute Summary collapse
- 
  
    
      #email  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The email address of the service account that a service producer would use to access consumer resources.
 - 
  
    
      #unique_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The unique and stable id of the service account.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleApiServiceusageV1beta1ServiceIdentity 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleApiServiceusageV1beta1ServiceIdentity.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleApiServiceusageV1beta1ServiceIdentity
Returns a new instance of GoogleApiServiceusageV1beta1ServiceIdentity.
      2469 2470 2471  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 2469 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#email ⇒ String
The email address of the service account that a service producer would use to
access consumer resources.
Corresponds to the JSON property email
      2461 2462 2463  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 2461 def email @email end  | 
  
#unique_id ⇒ String
The unique and stable id of the service account. https://cloud.google.com/iam/
reference/rest/v1/projects.serviceAccounts#ServiceAccount
Corresponds to the JSON property uniqueId
      2467 2468 2469  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 2467 def unique_id @unique_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2474 2475 2476 2477  | 
    
      # File 'lib/google/apis/serviceusage_v1/classes.rb', line 2474 def update!(**args) @email = args[:email] if args.key?(:email) @unique_id = args[:unique_id] if args.key?(:unique_id) end  |