Class: Google::Apis::GkebackupV1::GroupKindDependency
- Inherits:
-
Object
- Object
- Google::Apis::GkebackupV1::GroupKindDependency
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkebackup_v1/classes.rb,
lib/google/apis/gkebackup_v1/representations.rb,
lib/google/apis/gkebackup_v1/representations.rb
Overview
Defines a dependency between two group kinds.
Instance Attribute Summary collapse
-
#requiring ⇒ Google::Apis::GkebackupV1::GroupKind
This is a direct map to the Kubernetes GroupKind type GroupKind and is used for identifying specific "types" of resources to restore.
-
#satisfying ⇒ Google::Apis::GkebackupV1::GroupKind
This is a direct map to the Kubernetes GroupKind type GroupKind and is used for identifying specific "types" of resources to restore.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GroupKindDependency
constructor
A new instance of GroupKindDependency.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GroupKindDependency
Returns a new instance of GroupKindDependency.
1167 1168 1169 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1167 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requiring ⇒ Google::Apis::GkebackupV1::GroupKind
This is a direct map to the Kubernetes GroupKind type GroupKind and is used for
identifying specific "types" of resources to restore.
Corresponds to the JSON property requiring
1158 1159 1160 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1158 def requiring @requiring end |
#satisfying ⇒ Google::Apis::GkebackupV1::GroupKind
This is a direct map to the Kubernetes GroupKind type GroupKind and is used for
identifying specific "types" of resources to restore.
Corresponds to the JSON property satisfying
1165 1166 1167 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1165 def @satisfying end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1172 1173 1174 1175 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1172 def update!(**args) @requiring = args[:requiring] if args.key?(:requiring) @satisfying = args[:satisfying] if args.key?(:satisfying) end |