Class: Google::Apis::AdminDirectoryV1::TrustedAppId
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AdminDirectoryV1::TrustedAppId
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb 
Overview
JSON template for Trusted App Ids Resource object in Directory API.
Instance Attribute Summary collapse
- 
  
    
      #android_package_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Android package name.
 - 
  
    
      #certificate_hash_sha1  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
SHA1 signature of the app certificate.
 - 
  
    
      #certificate_hash_sha256  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
SHA256 signature of the app certificate.
 - 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
etag. - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifies the resource as a trusted AppId.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TrustedAppId 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TrustedAppId.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TrustedAppId
Returns a new instance of TrustedAppId
      2834 2835 2836  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2834 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#android_package_name ⇒ String
Android package name.
Corresponds to the JSON property androidPackageName
      2812 2813 2814  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2812 def android_package_name @android_package_name end  | 
  
#certificate_hash_sha1 ⇒ String
SHA1 signature of the app certificate.
Corresponds to the JSON property certificateHashSHA1
      2817 2818 2819  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2817 def certificate_hash_sha1 @certificate_hash_sha1 end  | 
  
#certificate_hash_sha256 ⇒ String
SHA256 signature of the app certificate.
Corresponds to the JSON property certificateHashSHA256
      2822 2823 2824  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2822 def certificate_hash_sha256 @certificate_hash_sha256 end  | 
  
#etag ⇒ String
Corresponds to the JSON property etag
      2827 2828 2829  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2827 def etag @etag end  | 
  
#kind ⇒ String
Identifies the resource as a trusted AppId.
Corresponds to the JSON property kind
      2832 2833 2834  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2832 def kind @kind end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2839 2840 2841 2842 2843 2844 2845  | 
    
      # File 'generated/google/apis/admin_directory_v1/classes.rb', line 2839 def update!(**args) @android_package_name = args[:android_package_name] if args.key?(:android_package_name) @certificate_hash_sha1 = args[:certificate_hash_sha1] if args.key?(:certificate_hash_sha1) @certificate_hash_sha256 = args[:certificate_hash_sha256] if args.key?(:certificate_hash_sha256) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) end  |