Class: Google::Apis::GkehubV1beta::MembershipFeatureSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb

Overview

MembershipFeatureSpec contains configuration information for a single Membership.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipFeatureSpec

Returns a new instance of MembershipFeatureSpec.



1699
1700
1701
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1699

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cloudbuildGoogle::Apis::GkehubV1beta::MembershipSpec

Cloud Build: Configurations for each Cloud Build enabled cluster. Corresponds to the JSON property cloudbuild



1686
1687
1688
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1686

def cloudbuild
  @cloudbuild
end

#configmanagementGoogle::Apis::GkehubV1beta::ConfigManagementMembershipSpec

Anthos Config Management: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. Corresponds to the JSON property configmanagement



1692
1693
1694
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1692

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1beta::IdentityServiceMembershipSpec

Anthos Identity Service: Configuration for a single Membership. Corresponds to the JSON property identityservice



1697
1698
1699
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1697

def identityservice
  @identityservice
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1704
1705
1706
1707
1708
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1704

def update!(**args)
  @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
  @identityservice = args[:identityservice] if args.key?(:identityservice)
end