Class: Google::Apis::ComputeV1::TargetGrpcProxy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::TargetGrpcProxy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Overview
Represents a Target gRPC Proxy resource.
A target gRPC proxy is a component of load balancers intended for load
balancing gRPC traffic. Global forwarding rules reference a target gRPC proxy.
The Target gRPC Proxy references a URL map which specifies how traffic routes
to gRPC backend services. (== resource_for $api_version
.targetGrpcProxies ==)
Instance Attribute Summary collapse
-
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
-
#description ⇒ String
An optional description of this resource.
-
#fingerprint ⇒ String
Fingerprint of this resource.
-
#id ⇒ Fixnum
[Output Only] The unique identifier for the resource type.
-
#kind ⇒ String
[Output Only] Type of the resource.
-
#name ⇒ String
Name of the resource.
-
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
-
#self_link_with_id ⇒ String
[Output Only] Server-defined URL with id for the resource.
-
#url_map ⇒ String
URL to the UrlMap resource that defines the mapping from URL to the BackendService.
-
#validate_for_proxyless ⇒ Boolean
(also: #validate_for_proxyless?)
If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC applications without using a sidecar proxy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetGrpcProxy
constructor
A new instance of TargetGrpcProxy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetGrpcProxy
Returns a new instance of TargetGrpcProxy.
29636 29637 29638 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29636 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_timestamp ⇒ String
[Output Only] Creation timestamp in RFC3339 text format.
Corresponds to the JSON property creationTimestamp
29566 29567 29568 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29566 def @creation_timestamp end |
#description ⇒ String
An optional description of this resource. Provide this property when you
create the resource.
Corresponds to the JSON property description
29572 29573 29574 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29572 def description @description end |
#fingerprint ⇒ String
Fingerprint of this resource. A hash of the contents stored in this object.
This field is used in optimistic locking. This field will be ignored when
inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in
order to patch/update the TargetGrpcProxy; otherwise, the request will fail
with error 412 conditionNotMet. To see the latest fingerprint, make a get()
request to retrieve the TargetGrpcProxy.
Corresponds to the JSON property fingerprint
NOTE: Values are automatically base64 encoded/decoded in the client library.
29583 29584 29585 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29583 def fingerprint @fingerprint end |
#id ⇒ Fixnum
[Output Only] The unique identifier for the resource type. The server
generates this identifier.
Corresponds to the JSON property id
29589 29590 29591 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29589 def id @id end |
#kind ⇒ String
[Output Only] Type of the resource. Always compute#targetGrpcProxy for target
grpc proxies.
Corresponds to the JSON property kind
29595 29596 29597 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29595 def kind @kind end |
#name ⇒ String
Name of the resource. Provided by the client when the resource is created. The
name must be 1-63 characters long, and comply with RFC1035. Specifically, the
name must be 1-63 characters long and match the regular expression [a-z]([-a-
z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter,
and all following characters must be a dash, lowercase letter, or digit,
except the last character, which cannot be a dash.
Corresponds to the JSON property name
29605 29606 29607 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29605 def name @name end |
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
Corresponds to the JSON property selfLink
29610 29611 29612 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29610 def self_link @self_link end |
#self_link_with_id ⇒ String
[Output Only] Server-defined URL with id for the resource.
Corresponds to the JSON property selfLinkWithId
29615 29616 29617 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29615 def self_link_with_id @self_link_with_id end |
#url_map ⇒ String
URL to the UrlMap resource that defines the mapping from URL to the
BackendService. The protocol field in the BackendService must be set to GRPC.
Corresponds to the JSON property urlMap
29621 29622 29623 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29621 def url_map @url_map end |
#validate_for_proxyless ⇒ Boolean Also known as: validate_for_proxyless?
If true, indicates that the BackendServices referenced by the urlMap may be
accessed by gRPC applications without using a sidecar proxy. This will enable
configuration checks on urlMap and its referenced BackendServices to not allow
unsupported features. A gRPC application must use "xds:///" scheme in the
target URI of the service it is connecting to. If false, indicates that the
BackendServices referenced by the urlMap will be accessed by gRPC applications
via a sidecar proxy. In this case, a gRPC application must not use "xds:///"
scheme in the target URI of the service it is connecting to
Corresponds to the JSON property validateForProxyless
29633 29634 29635 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29633 def validate_for_proxyless @validate_for_proxyless end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29641 29642 29643 29644 29645 29646 29647 29648 29649 29650 29651 29652 |
# File 'generated/google/apis/compute_v1/classes.rb', line 29641 def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @self_link = args[:self_link] if args.key?(:self_link) @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) @url_map = args[:url_map] if args.key?(:url_map) @validate_for_proxyless = args[:validate_for_proxyless] if args.key?(:validate_for_proxyless) end |