Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1BooleanConstraint

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

Overview

A Constraint that is either enforced or not. For example a constraint constraints/compute.disableSerialPortAccess. If it is enforced on a VM instance, serial port connections will not be opened to that instance.

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssetV1BooleanConstraint

Returns a new instance of GoogleCloudAssetV1BooleanConstraint.



1705
1706
1707
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1705

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

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1710
1711
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1710

def update!(**args)
end