Class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1CertificateTemplate

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

Overview

CertificateTemplate (v3 Extension in X.509).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1CertificateTemplate

Returns a new instance of GoogleAppsCloudidentityDevicesV1CertificateTemplate.



1867
1868
1869
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1867

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

Instance Attribute Details

#idString

The template id of the template. Example: "1.3.6.1.4.1.311.21.8.15608621. 11768144.5720724.16068415.6889630.81.2472537.7784047". Corresponds to the JSON property id

Returns:

  • (String)


1855
1856
1857
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1855

def id
  @id
end

#major_versionFixnum

The Major version of the template. Example: 100. Corresponds to the JSON property majorVersion

Returns:

  • (Fixnum)


1860
1861
1862
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1860

def major_version
  @major_version
end

#minor_versionFixnum

The minor version of the template. Example: 12. Corresponds to the JSON property minorVersion

Returns:

  • (Fixnum)


1865
1866
1867
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1865

def minor_version
  @minor_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1872
1873
1874
1875
1876
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 1872

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