Service Management V1 API - Class Google::Api::ContextRule (v1.1.0)

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. It is used to support propagating HTTP headers and ETags from the response extension.

#provided=

def provided=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension.
Returns
  • (::Array<::String>) — A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension.

#requested

def requested() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of full type names of requested contexts, only the requested context will be made available to the backend.

#requested=

def requested=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of full type names of requested contexts, only the requested context will be made available to the backend.
Returns
  • (::Array<::String>) — A list of full type names of requested contexts, only the requested context will be made available to the backend.

#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.