Class: Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec
- 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
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) ⇒ CloudBuildMembershipSpec
constructor
A new instance of CloudBuildMembershipSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudBuildMembershipSpec
Returns a new instance of CloudBuildMembershipSpec.
383 384 385 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 383 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
376 377 378 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 376 def security_policy @security_policy end |
#version ⇒ String
Version of the cloud build software on the cluster.
Corresponds to the JSON property version
381 382 383 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 381 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
388 389 390 391 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 388 def update!(**args) @security_policy = args[:security_policy] if args.key?(:security_policy) @version = args[:version] if args.key?(:version) end |