Network Services V1 API - Class Google::Cloud::NetworkServices::V1::CreateEndpointPolicyRequest (v0.2.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::CreateEndpointPolicyRequest.

Request used with the CreateEndpointPolicy method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#endpoint_policy

def endpoint_policy() -> ::Google::Cloud::NetworkServices::V1::EndpointPolicy
Returns

#endpoint_policy=

def endpoint_policy=(value) -> ::Google::Cloud::NetworkServices::V1::EndpointPolicy
Parameter
Returns

#endpoint_policy_id

def endpoint_policy_id() -> ::String
Returns
  • (::String) — Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".

#endpoint_policy_id=

def endpoint_policy_id=(value) -> ::String
Parameter
  • value (::String) — Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".
Returns
  • (::String) — Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent resource of the EndpointPolicy. Must be in the format projects/*/locations/global.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent resource of the EndpointPolicy. Must be in the format projects/*/locations/global.
Returns
  • (::String) — Required. The parent resource of the EndpointPolicy. Must be in the format projects/*/locations/global.