Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRetractLicenseConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRetractLicenseConfigRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Request message for LicenseConfigService.RetractLicenseConfig method.
Instance Attribute Summary collapse
-
#full_retract ⇒ Boolean
(also: #full_retract?)
Optional.
-
#license_config ⇒ String
Required.
-
#license_count ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaRetractLicenseConfigRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1betaRetractLicenseConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaRetractLicenseConfigRequest
Returns a new instance of GoogleCloudDiscoveryengineV1betaRetractLicenseConfigRequest.
29022 29023 29024 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29022 def initialize(**args) update!(**args) end |
Instance Attribute Details
#full_retract ⇒ Boolean Also known as: full_retract?
Optional. If set to true, retract the entire license config. Otherwise,
retract the specified license count.
Corresponds to the JSON property fullRetract
29007 29008 29009 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29007 def full_retract @full_retract end |
#license_config ⇒ String
Required. Full resource name of LicenseConfig. Format: projects/project/
locations/location/licenseConfigs/license_config_id`.
Corresponds to the JSON propertylicenseConfig`
29014 29015 29016 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29014 def license_config @license_config end |
#license_count ⇒ Fixnum
Optional. The number of licenses to retract. Only used when full_retract is
false.
Corresponds to the JSON property licenseCount
29020 29021 29022 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29020 def license_count @license_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29027 29028 29029 29030 29031 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 29027 def update!(**args) @full_retract = args[:full_retract] if args.key?(:full_retract) @license_config = args[:license_config] if args.key?(:license_config) @license_count = args[:license_count] if args.key?(:license_count) end |