Class: Google::Apis::GkehubV1alpha::ValidateCreateMembershipRequest
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ValidateCreateMembershipRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
Request message for the GkeHub.ValidateCreateMembership
method.
Instance Attribute Summary collapse
-
#membership ⇒ Google::Apis::GkehubV1alpha::Membership
Membership contains information about a member cluster.
-
#membership_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidateCreateMembershipRequest
constructor
A new instance of ValidateCreateMembershipRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidateCreateMembershipRequest
Returns a new instance of ValidateCreateMembershipRequest.
6347 6348 6349 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6347 def initialize(**args) update!(**args) end |
Instance Attribute Details
#membership ⇒ Google::Apis::GkehubV1alpha::Membership
Membership contains information about a member cluster.
Corresponds to the JSON property membership
6340 6341 6342 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6340 def membership @membership end |
#membership_id ⇒ String
Required. Client chosen membership id.
Corresponds to the JSON property membershipId
6345 6346 6347 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6345 def membership_id @membership_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6352 6353 6354 6355 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6352 def update!(**args) @membership = args[:membership] if args.key?(:membership) @membership_id = args[:membership_id] if args.key?(:membership_id) end |