Class: Google::Compute::Data::SslCertSelfLinkRefApi
- Inherits:
-
SslCertSelfLinkRef
- Object
- SslCertSelfLinkRef
- Google::Compute::Data::SslCertSelfLinkRefApi
- Defined in:
- lib/google/compute/property/sslcertificate_selflink.rb
Overview
A class to manage a JSON blob from GCP API Will immediately return value from JSON blob without changes
Instance Attribute Summary collapse
-
#resource ⇒ Object
readonly
Returns the value of attribute resource.
Instance Method Summary collapse
-
#initialize(resource) ⇒ SslCertSelfLinkRefApi
constructor
A new instance of SslCertSelfLinkRefApi.
- #to_json(_arg = nil) ⇒ Object
- #to_s ⇒ Object
Methods inherited from SslCertSelfLinkRef
Constructor Details
#initialize(resource) ⇒ SslCertSelfLinkRefApi
Returns a new instance of SslCertSelfLinkRefApi.
86 87 88 |
# File 'lib/google/compute/property/sslcertificate_selflink.rb', line 86 def initialize(resource) @resource = resource end |
Instance Attribute Details
#resource ⇒ Object (readonly)
Returns the value of attribute resource.
84 85 86 |
# File 'lib/google/compute/property/sslcertificate_selflink.rb', line 84 def resource @resource end |
Instance Method Details
#to_json(_arg = nil) ⇒ Object
94 95 96 |
# File 'lib/google/compute/property/sslcertificate_selflink.rb', line 94 def to_json(_arg = nil) @resource.to_json end |
#to_s ⇒ Object
90 91 92 |
# File 'lib/google/compute/property/sslcertificate_selflink.rb', line 90 def to_s @resource.to_s end |