Class: Google::Apis::ServicemanagementV1::DisableServiceRequest

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

Overview

Request message for DisableService method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DisableServiceRequest

Returns a new instance of DisableServiceRequest.



1159
1160
1161
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1159

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

Instance Attribute Details

#consumer_idString

Required. The identity of consumer resource which service disablement will be applied to. The Google Service Management implementation accepts the following forms:

  • "project:" Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id. Corresponds to the JSON property consumerId

Returns:

  • (String)


1157
1158
1159
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1157

def consumer_id
  @consumer_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1164
1165
1166
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 1164

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