Class: Google::Apis::CloudkmsV1::Source
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::Source
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudkms_v1/classes.rb,
lib/google/apis/cloudkms_v1/representations.rb,
lib/google/apis/cloudkms_v1/representations.rb
Overview
Source of the effective AutokeyConfig.
Instance Attribute Summary collapse
-
#name ⇒ String
Contains the resource name of the AutokeyConfig that is effective, for example,
folders/FOLDER_NUMBERor `projects/`PROJECT_NUMBERororganizations/ORGANIZATION_NUMBER``.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Source
constructor
A new instance of Source.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Source
Returns a new instance of Source.
4178 4179 4180 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 4178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Contains the resource name of the AutokeyConfig that is effective, for example,
folders/FOLDER_NUMBERor `projects/`PROJECT_NUMBER or organizations/
ORGANIZATION_NUMBER`.
Corresponds to the JSON propertyname`
4176 4177 4178 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 4176 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4183 4184 4185 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 4183 def update!(**args) @name = args[:name] if args.key?(:name) end |