Service Management V1 API - Class Google::Api::ContextRule (v0.4.1)

Reference documentation and code samples for the Service Management V1 API class Google::Api::ContextRule.

A context rule provides information about the context for an individual API element.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_request_extensions

def allowed_request_extensions() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.

#allowed_request_extensions=

def allowed_request_extensions=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
Returns
  • (::Array<::String>) — A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.

#allowed_response_extensions

def allowed_response_extensions() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.

#allowed_response_extensions=

def allowed_response_extensions=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
Returns
  • (::Array<::String>) — A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.

#provided

def provided() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of full type names of provided contexts.

#provided=

def provided=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of full type names of provided contexts.
Returns
  • (::Array<::String>) — A list of full type names of provided contexts.

#requested

def requested() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of full type names of requested contexts.

#requested=

def requested=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of full type names of requested contexts.
Returns
  • (::Array<::String>) — A list of full type names of requested contexts.

#selector

def selector() -> ::String
Returns
  • (::String) — Selects the methods to which this rule applies.

    Refer to selector for syntax details.

#selector=

def selector=(value) -> ::String
Parameter
  • value (::String) — Selects the methods to which this rule applies.

    Refer to selector for syntax details.

Returns
  • (::String) — Selects the methods to which this rule applies.

    Refer to selector for syntax details.