Class: Google::Apis::AdminDirectoryV1::TrustedAppId

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TrustedAppId

Returns a new instance of TrustedAppId



2816
2817
2818
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2816

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

Instance Attribute Details

#android_package_nameString

Android package name. Corresponds to the JSON property androidPackageName

Returns:

  • (String)


2794
2795
2796
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2794

def android_package_name
  @android_package_name
end

#certificate_hash_sha1String

SHA1 signature of the app certificate. Corresponds to the JSON property certificateHashSHA1

Returns:

  • (String)


2799
2800
2801
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2799

def certificate_hash_sha1
  @certificate_hash_sha1
end

#certificate_hash_sha256String

SHA256 signature of the app certificate. Corresponds to the JSON property certificateHashSHA256

Returns:

  • (String)


2804
2805
2806
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2804

def certificate_hash_sha256
  @certificate_hash_sha256
end

#etagString

Corresponds to the JSON property etag

Returns:

  • (String)


2809
2810
2811
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2809

def etag
  @etag
end

#kindString

Identifies the resource as a trusted AppId. Corresponds to the JSON property kind

Returns:

  • (String)


2814
2815
2816
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2814

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2821
2822
2823
2824
2825
2826
2827
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2821

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