Class: SDM::GCPCertX509Store
- Inherits:
-
Object
- Object
- SDM::GCPCertX509Store
- Defined in:
- lib/models/porcelain.rb
Overview
GCPCertX509Store is currently unstable, and its API may change, or it may be removed, without a major version bump.
Instance Attribute Summary collapse
-
#caid ⇒ Object
The ID of the target CA.
-
#capoolid ⇒ Object
The ID of the target CA pool.
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#location ⇒ Object
The Region for the CA in GCP format e.g.
-
#name ⇒ Object
Unique human-readable name of the SecretStore.
-
#projectid ⇒ Object
The GCP project ID to target.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
Instance Method Summary collapse
-
#initialize(caid: nil, capoolid: nil, id: nil, location: nil, name: nil, projectid: nil, tags: nil) ⇒ GCPCertX509Store
constructor
A new instance of GCPCertX509Store.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(caid: nil, capoolid: nil, id: nil, location: nil, name: nil, projectid: nil, tags: nil) ⇒ GCPCertX509Store
Returns a new instance of GCPCertX509Store.
4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 |
# File 'lib/models/porcelain.rb', line 4073 def initialize( caid: nil, capoolid: nil, id: nil, location: nil, name: nil, projectid: nil, tags: nil ) @caid = caid == nil ? "" : caid @capoolid = capoolid == nil ? "" : capoolid @id = id == nil ? "" : id @location = location == nil ? "" : location @name = name == nil ? "" : name @projectid = projectid == nil ? "" : projectid @tags = == nil ? SDM::() : end |
Instance Attribute Details
#caid ⇒ Object
The ID of the target CA
4059 4060 4061 |
# File 'lib/models/porcelain.rb', line 4059 def caid @caid end |
#capoolid ⇒ Object
The ID of the target CA pool
4061 4062 4063 |
# File 'lib/models/porcelain.rb', line 4061 def capoolid @capoolid end |
#id ⇒ Object
Unique identifier of the SecretStore.
4063 4064 4065 |
# File 'lib/models/porcelain.rb', line 4063 def id @id end |
#location ⇒ Object
The Region for the CA in GCP format e.g. us-west1
4065 4066 4067 |
# File 'lib/models/porcelain.rb', line 4065 def location @location end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
4067 4068 4069 |
# File 'lib/models/porcelain.rb', line 4067 def name @name end |
#projectid ⇒ Object
The GCP project ID to target.
4069 4070 4071 |
# File 'lib/models/porcelain.rb', line 4069 def projectid @projectid end |
#tags ⇒ Object
Tags is a map of key, value pairs.
4071 4072 4073 |
# File 'lib/models/porcelain.rb', line 4071 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
4091 4092 4093 4094 4095 4096 4097 |
# File 'lib/models/porcelain.rb', line 4091 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |