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.
1170 1171 1172 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1170 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
1161 1162 1163 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1161 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
1168 1169 1170 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1168 def @satisfying end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1175 1176 1177 1178 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 1175 def update!(**args) @requiring = args[:requiring] if args.key?(:requiring) @satisfying = args[:satisfying] if args.key?(:satisfying) end |