Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::ListDeviceConfigVersionsRequest.
Request for ListDeviceConfigVersions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — Required. The name of the device. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0orprojects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the device. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0orprojects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
Returns
-
(::String) — Required. The name of the device. For example,
projects/p0/locations/us-central1/registries/registry0/devices/device0orprojects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
#num_versions
def num_versions() -> ::Integer
Returns
- (::Integer) — The number of versions to list. Versions are listed in decreasing order of the version number. The maximum number of versions retained is 10. If this value is zero, it will return all the versions available.
#num_versions=
def num_versions=(value) -> ::Integer
Parameter
- value (::Integer) — The number of versions to list. Versions are listed in decreasing order of the version number. The maximum number of versions retained is 10. If this value is zero, it will return all the versions available.
Returns
- (::Integer) — The number of versions to list. Versions are listed in decreasing order of the version number. The maximum number of versions retained is 10. If this value is zero, it will return all the versions available.