Class: Google::Apis::ServiceusageV1beta1::RemoveEnableRulesResponse

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

Overview

The response message of RemoveEnableRules method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemoveEnableRulesResponse

Returns a new instance of RemoveEnableRulesResponse.



5090
5091
5092
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5090

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

Instance Attribute Details

#parentString

The parent consumer policy. It can be projects/12345/consumerPolicies/default , or folders/12345/consumerPolicies/default, or organizations/12345/ consumerPolicies/default. Corresponds to the JSON property parent

Returns:

  • (String)


5083
5084
5085
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5083

def parent
  @parent
end

#removed_valuesArray<String>

The values removed from the parent consumer policy. Corresponds to the JSON property removedValues

Returns:

  • (Array<String>)


5088
5089
5090
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5088

def removed_values
  @removed_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5095
5096
5097
5098
# File 'lib/google/apis/serviceusage_v1beta1/classes.rb', line 5095

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