Class: Google::Apis::GkehubV1beta::MembershipSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::MembershipSpec
- 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
-
#security_policy ⇒ String
Whether it is allowed to run the privileged builds on the cluster or not.
-
#version ⇒ String
Version of the cloud build software on the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipSpec
constructor
A new instance of MembershipSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipSpec
Returns a new instance of MembershipSpec.
3742 3743 3744 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3742 def initialize(**args) update!(**args) end |
Instance Attribute Details
#security_policy ⇒ String
Whether it is allowed to run the privileged builds on the cluster or not.
Corresponds to the JSON property securityPolicy
3735 3736 3737 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3735 def security_policy @security_policy end |
#version ⇒ String
Version of the cloud build software on the cluster.
Corresponds to the JSON property version
3740 3741 3742 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3740 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3747 3748 3749 3750 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 3747 def update!(**args) @security_policy = args[:security_policy] if args.key?(:security_policy) @version = args[:version] if args.key?(:version) end |