Class: Google::Apis::GkehubV1beta::ComplianceStandard

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ComplianceStandard

Returns a new instance of ComplianceStandard.



960
961
962
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 960

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

Instance Attribute Details

#standardString

Name of the compliance standard. Corresponds to the JSON property standard

Returns:

  • (String)


958
959
960
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 958

def standard
  @standard
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



965
966
967
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 965

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