Apigee Registry V1 API - Class Google::Cloud::ApigeeRegistry::V1::CreateApiSpecRequest (v0.8.0)

Reference documentation and code samples for the Apigee Registry V1 API class Google::Cloud::ApigeeRegistry::V1::CreateApiSpecRequest.

Request message for CreateApiSpec.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#api_spec

def api_spec() -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec
Returns

#api_spec=

def api_spec=(value) -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec
Parameter
Returns

#api_spec_id

def api_spec_id() -> ::String
Returns
  • (::String) — Required. The ID to use for the spec, which will become the final component of the spec's resource name.

    This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

    Following AIP-162, IDs must not have the form of a UUID.

#api_spec_id=

def api_spec_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID to use for the spec, which will become the final component of the spec's resource name.

    This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

    Following AIP-162, IDs must not have the form of a UUID.

Returns
  • (::String) — Required. The ID to use for the spec, which will become the final component of the spec's resource name.

    This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

    Following AIP-162, IDs must not have the form of a UUID.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent, which owns this collection of specs. Format: projects/*/locations/*/apis/*/versions/*

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent, which owns this collection of specs. Format: projects/*/locations/*/apis/*/versions/*
Returns
  • (::String) — Required. The parent, which owns this collection of specs. Format: projects/*/locations/*/apis/*/versions/*