Class: Google::Cloud::GDCHardwareManagement::V1alpha::CreateHardwareRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gdchardwaremanagement/v1alpha/service.rb

Overview

A request to create hardware.

Instance Attribute Summary collapse

Instance Attribute Details

#hardware::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware

Returns Required. The resource to create.

Returns:



493
494
495
496
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/service.rb', line 493

class CreateHardwareRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#hardware_id::String

Returns Optional. ID used to uniquely identify the Hardware within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

The hardware.name field in the request will be ignored.

Returns:

  • (::String)

    Optional. ID used to uniquely identify the Hardware within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

    The hardware.name field in the request will be ignored.



493
494
495
496
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/service.rb', line 493

class CreateHardwareRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The project and location to create hardware in. Format: projects/{project}/locations/{location}.

Returns:

  • (::String)

    Required. The project and location to create hardware in. Format: projects/{project}/locations/{location}



493
494
495
496
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/service.rb', line 493

class CreateHardwareRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end