Class: Google::Cloud::ApiHub::V1::CreateDependencyRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/apihub/v1/apihub_service.rb

Overview

The CreateDependency method's request.

Instance Attribute Summary collapse

Instance Attribute Details

#dependency::Google::Cloud::ApiHub::V1::Dependency

Returns Required. The dependency resource to create.

Returns:



1085
1086
1087
1088
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 1085

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

#dependency_id::String

Returns Optional. The ID to use for the dependency resource, which will become the final component of the dependency's resource name. This field is optional.

  • If provided, the same will be used. The service will throw an error if duplicate id is provided by the client.
  • If not provided, a system generated id will be used.

This value should be 4-500 characters, and valid characters are [a-z][A-Z][0-9]-_.

Returns:

  • (::String)

    Optional. The ID to use for the dependency resource, which will become the final component of the dependency's resource name. This field is optional.

    • If provided, the same will be used. The service will throw an error if duplicate id is provided by the client.
    • If not provided, a system generated id will be used.

    This value should be 4-500 characters, and valid characters are [a-z][A-Z][0-9]-_.



1085
1086
1087
1088
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 1085

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

#parent::String

Returns Required. The parent resource for the dependency resource. Format: projects/{project}/locations/{location}.

Returns:

  • (::String)

    Required. The parent resource for the dependency resource. Format: projects/{project}/locations/{location}



1085
1086
1087
1088
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 1085

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