Class: Google::Apis::ConfigV1::ResourceCaiInfo
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::ResourceCaiInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/config_v1/classes.rb,
lib/google/apis/config_v1/representations.rb,
lib/google/apis/config_v1/representations.rb
Overview
CAI info of a Resource.
Instance Attribute Summary collapse
-
#full_resource_name ⇒ String
CAI resource name in the format following https://cloud.google.com/apis/design/ resource_names#full_resource_name Corresponds to the JSON property
fullResourceName
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceCaiInfo
constructor
A new instance of ResourceCaiInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceCaiInfo
Returns a new instance of ResourceCaiInfo.
1525 1526 1527 |
# File 'lib/google/apis/config_v1/classes.rb', line 1525 def initialize(**args) update!(**args) end |
Instance Attribute Details
#full_resource_name ⇒ String
CAI resource name in the format following https://cloud.google.com/apis/design/
resource_names#full_resource_name
Corresponds to the JSON property fullResourceName
1523 1524 1525 |
# File 'lib/google/apis/config_v1/classes.rb', line 1523 def full_resource_name @full_resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1530 1531 1532 |
# File 'lib/google/apis/config_v1/classes.rb', line 1530 def update!(**args) @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) end |