Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::GatewayConfig.
Gateway-related configuration and state.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#gateway_auth_method
def gateway_auth_method() -> ::Google::Cloud::Iot::V1::GatewayAuthMethod
Returns
- (::Google::Cloud::Iot::V1::GatewayAuthMethod) — Indicates how to authorize and/or authenticate devices to access the gateway.
#gateway_auth_method=
def gateway_auth_method=(value) -> ::Google::Cloud::Iot::V1::GatewayAuthMethod
Parameter
- value (::Google::Cloud::Iot::V1::GatewayAuthMethod) — Indicates how to authorize and/or authenticate devices to access the gateway.
Returns
- (::Google::Cloud::Iot::V1::GatewayAuthMethod) — Indicates how to authorize and/or authenticate devices to access the gateway.
#gateway_type
def gateway_type() -> ::Google::Cloud::Iot::V1::GatewayType
Returns
- (::Google::Cloud::Iot::V1::GatewayType) — Indicates whether the device is a gateway.
#gateway_type=
def gateway_type=(value) -> ::Google::Cloud::Iot::V1::GatewayType
Parameter
- value (::Google::Cloud::Iot::V1::GatewayType) — Indicates whether the device is a gateway.
Returns
- (::Google::Cloud::Iot::V1::GatewayType) — Indicates whether the device is a gateway.
#last_accessed_gateway_id
def last_accessed_gateway_id() -> ::String
Returns
- (::String) — [Output only] The ID of the gateway the device accessed most recently.
#last_accessed_gateway_id=
def last_accessed_gateway_id=(value) -> ::String
Parameter
- value (::String) — [Output only] The ID of the gateway the device accessed most recently.
Returns
- (::String) — [Output only] The ID of the gateway the device accessed most recently.
#last_accessed_gateway_time
def last_accessed_gateway_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — [Output only] The most recent time at which the device accessed the gateway
specified in
last_accessed_gateway
.
#last_accessed_gateway_time=
def last_accessed_gateway_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — [Output only] The most recent time at which the device accessed the gateway
specified in
last_accessed_gateway
.
Returns
-
(::Google::Protobuf::Timestamp) — [Output only] The most recent time at which the device accessed the gateway
specified in
last_accessed_gateway
.