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.
6378 6379 6380 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6378 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
6371 6372 6373 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6371 def membership @membership end |
#membership_id ⇒ String
Required. Client chosen membership id.
Corresponds to the JSON property membershipId
6376 6377 6378 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6376 def membership_id @membership_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6383 6384 6385 6386 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 6383 def update!(**args) @membership = args[:membership] if args.key?(:membership) @membership_id = args[:membership_id] if args.key?(:membership_id) end |