Class: Google::Apis::CloudiotV1::HttpConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudiotV1::HttpConfig
- 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
-
#http_enabled_state ⇒ String
If enabled, allows devices to use DeviceService via the HTTP protocol.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpConfig
constructor
A new instance of HttpConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ HttpConfig
Returns a new instance of HttpConfig.
694 695 696 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 694 def initialize(**args) update!(**args) end |
Instance Attribute Details
#http_enabled_state ⇒ String
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
692 693 694 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 692 def http_enabled_state @http_enabled_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
699 700 701 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 699 def update!(**args) @http_enabled_state = args[:http_enabled_state] if args.key?(:http_enabled_state) end |