google-cloud-monitoring-metrics_scope-v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/monitoring/metrics_scope/v1/metrics_scopes/client.rb +14 -3
- data/lib/google/cloud/monitoring/metrics_scope/v1/metrics_scopes/operations.rb +13 -2
- data/lib/google/cloud/monitoring/metrics_scope/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d18b18065088fd2519f2ac9d40d04addd9d68ad3ee89121158c156c7d6e66af
|
4
|
+
data.tar.gz: a131fee280cb63c4eb83fc8e4e85dfee88f3dcbfca37d066176692725f3d8cdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca43ff7387e3f113f81e7a2ab4e9d98533a0c954f9f4f21119a5223695ec2d6361017bc3f5bcf99bd6ff53f6f9a9cb2949663de650905b7b0a4f7ce5ddabdc9e
|
7
|
+
data.tar.gz: 4fb7ae3ff8321337775e73597d3c18d99c50cc2b95af290fcf918a39f390bf5708aaee89899a7634b18d79d6dad9f4861b98b86b59ab938132ace98c470c29de
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
credentials = @config.credentials
|
126
126
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
127
127
|
# but only if the default endpoint does not have a region prefix.
|
128
|
-
enable_self_signed_jwt = @config.endpoint ==
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
129
129
|
!@config.endpoint.split(".").first.include?("-")
|
130
130
|
credentials ||= Credentials.default scope: @config.scope,
|
131
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -146,7 +146,8 @@ module Google
|
|
146
146
|
credentials: credentials,
|
147
147
|
endpoint: @config.endpoint,
|
148
148
|
channel_args: @config.channel_args,
|
149
|
-
interceptors: @config.interceptors
|
149
|
+
interceptors: @config.interceptors,
|
150
|
+
channel_pool_config: @config.channel_pool
|
150
151
|
)
|
151
152
|
end
|
152
153
|
|
@@ -610,7 +611,9 @@ module Google
|
|
610
611
|
class Configuration
|
611
612
|
extend ::Gapic::Config
|
612
613
|
|
613
|
-
|
614
|
+
DEFAULT_ENDPOINT = "monitoring.googleapis.com"
|
615
|
+
|
616
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
614
617
|
config_attr :credentials, nil do |value|
|
615
618
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
616
619
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -645,6 +648,14 @@ module Google
|
|
645
648
|
end
|
646
649
|
end
|
647
650
|
|
651
|
+
##
|
652
|
+
# Configuration for the channel pool
|
653
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
654
|
+
#
|
655
|
+
def channel_pool
|
656
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
657
|
+
end
|
658
|
+
|
648
659
|
##
|
649
660
|
# Configuration RPC class for the MetricsScopes API.
|
650
661
|
#
|
@@ -94,7 +94,8 @@ module Google
|
|
94
94
|
credentials: credentials,
|
95
95
|
endpoint: @config.endpoint,
|
96
96
|
channel_args: @config.channel_args,
|
97
|
-
interceptors: @config.interceptors
|
97
|
+
interceptors: @config.interceptors,
|
98
|
+
channel_pool_config: @config.channel_pool
|
98
99
|
)
|
99
100
|
|
100
101
|
# Used by an LRO wrapper for some methods of this service
|
@@ -665,7 +666,9 @@ module Google
|
|
665
666
|
class Configuration
|
666
667
|
extend ::Gapic::Config
|
667
668
|
|
668
|
-
|
669
|
+
DEFAULT_ENDPOINT = "monitoring.googleapis.com"
|
670
|
+
|
671
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
669
672
|
config_attr :credentials, nil do |value|
|
670
673
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
671
674
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -700,6 +703,14 @@ module Google
|
|
700
703
|
end
|
701
704
|
end
|
702
705
|
|
706
|
+
##
|
707
|
+
# Configuration for the channel pool
|
708
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
709
|
+
#
|
710
|
+
def channel_pool
|
711
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
712
|
+
end
|
713
|
+
|
703
714
|
##
|
704
715
|
# Configuration RPC class for the Operations API.
|
705
716
|
#
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-monitoring-metrics_scope-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.4.
|
217
|
+
rubygems_version: 3.4.19
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: Manages your Cloud Monitoring data and configurations. Most projects must
|