Class: Google::Apis::GkehubV1beta::MembershipSpec

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

Cloud Build: Configurations for each Cloud Build enabled cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipSpec

Returns a new instance of MembershipSpec.



2679
2680
2681
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2679

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

Instance Attribute Details

#security_policyString

Whether it is allowed to run the privileged builds on the cluster or not. Corresponds to the JSON property securityPolicy

Returns:

  • (String)


2672
2673
2674
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2672

def security_policy
  @security_policy
end

#versionString

Version of the cloud build software on the cluster. Corresponds to the JSON property version

Returns:

  • (String)


2677
2678
2679
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2677

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2684
2685
2686
2687
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2684

def update!(**args)
  @security_policy = args[:security_policy] if args.key?(:security_policy)
  @version = args[:version] if args.key?(:version)
end