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.
4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 |
# File 'lib/models/porcelain.rb', line 4121 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
4107 4108 4109 |
# File 'lib/models/porcelain.rb', line 4107 def caid @caid end |
#capoolid ⇒ Object
The ID of the target CA pool
4109 4110 4111 |
# File 'lib/models/porcelain.rb', line 4109 def capoolid @capoolid end |
#id ⇒ Object
Unique identifier of the SecretStore.
4111 4112 4113 |
# File 'lib/models/porcelain.rb', line 4111 def id @id end |
#location ⇒ Object
The Region for the CA in GCP format e.g. us-west1
4113 4114 4115 |
# File 'lib/models/porcelain.rb', line 4113 def location @location end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
4115 4116 4117 |
# File 'lib/models/porcelain.rb', line 4115 def name @name end |
#projectid ⇒ Object
The GCP project ID to target.
4117 4118 4119 |
# File 'lib/models/porcelain.rb', line 4117 def projectid @projectid end |
#tags ⇒ Object
Tags is a map of key, value pairs.
4119 4120 4121 |
# File 'lib/models/porcelain.rb', line 4119 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
4139 4140 4141 4142 4143 4144 4145 |
# File 'lib/models/porcelain.rb', line 4139 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 |