class Google::Apis::ServiceusageV1::SystemParameter

Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.

Attributes

http_header[RW]

Define the HTTP header name to use for the parameter. It is case insensitive. Corresponds to the JSON property `httpHeader` @return [String]

name[RW]

Define the name of the parameter, such as “api_key” . It is case sensitive. Corresponds to the JSON property `name` @return [String]

url_query_parameter[RW]

Define the URL query parameter name to use for the parameter. It is case sensitive. Corresponds to the JSON property `urlQueryParameter` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/serviceusage_v1/classes.rb, line 3530
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/serviceusage_v1/classes.rb, line 3535
def update!(**args)
  @http_header = args[:http_header] if args.key?(:http_header)
  @name = args[:name] if args.key?(:name)
  @url_query_parameter = args[:url_query_parameter] if args.key?(:url_query_parameter)
end