Class: Google::Apis::CloudiotV1::HttpConfig

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

Overview

The configuration of the HTTP bridge for a device registry.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ HttpConfig

Returns a new instance of HttpConfig



646
647
648
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 646

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

Instance Attribute Details

#http_enabled_stateString

If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry. Corresponds to the JSON property httpEnabledState

Returns:

  • (String)


644
645
646
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 644

def http_enabled_state
  @http_enabled_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



651
652
653
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 651

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