Class: Google::Apis::ServiceuserV1::Http

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/serviceuser_v1/classes.rb,
generated/google/apis/serviceuser_v1/representations.rb,
generated/google/apis/serviceuser_v1/representations.rb

Overview

Defines the HTTP configuration for a service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Http

Returns a new instance of Http



3333
3334
3335
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3333

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#fully_decode_reserved_expansionBoolean Also known as: fully_decode_reserved_expansion?

When set to true, URL path parmeters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches. Corresponds to the JSON property fullyDecodeReservedExpansion

Returns:

  • (Boolean)


3330
3331
3332
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3330

def fully_decode_reserved_expansion
  @fully_decode_reserved_expansion
end

#rulesArray<Google::Apis::ServiceuserV1::HttpRule>

A list of HTTP configuration rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order. Corresponds to the JSON property rules



3321
3322
3323
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3321

def rules
  @rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3338
3339
3340
3341
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3338

def update!(**args)
  @rules = args[:rules] if args.key?(:rules)
  @fully_decode_reserved_expansion = args[:fully_decode_reserved_expansion] if args.key?(:fully_decode_reserved_expansion)
end