google-cloud-asset-v1beta1 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e86b43959e9cc32edfe8edbc1c5f54d59d43adbe0d03a880a427f0b2d5e7f781
4
- data.tar.gz: 9840b2432b11cb3b4f4e691dc3e0ec3e55872a7c18172b75c0e1e5dfa0f0fe6b
3
+ metadata.gz: 474644dd428dacd5fe094df07331404a8659644663f51234cef89dd8e019a365
4
+ data.tar.gz: 63b645e5fdb9a1a945579ac4ff1476732fd513ae1cfee2770ed75c4aff5a2dad
5
5
  SHA512:
6
- metadata.gz: 3d3a8d3d58f64d2dd3f4d062340c3901db833b9b30c43d7baf036416b145e64c0cac5e82cd77144873c1d8161a46a40f1c8bb7c7f449dfcd91cd737a3e20647d
7
- data.tar.gz: be6aab3275e5c4757c8b57fc2048d90b4b0dd4088f42af4f728afd5a41fbd4a94bbc780108bcd303dd06f8dc93ab233c06dd50512350f269fb6f4570149c5baf
6
+ metadata.gz: a1f1efdd058b7904cb4830b536a71d4df32dbb210a7b1c88f1206f75e8e8381094aa079a29f51a93544c80d0717e07dac53a6c6ea4ea1a7aae5df813434a826d
7
+ data.tar.gz: 25eacab8f0b2d291d5c65c472b0c673cdaa20c68ee8deee46436a66e7c45dfac852dba97319347290282ae38153cd5757a5eef2b1cd133013fd53e9c1e7500cd
@@ -85,6 +85,8 @@ module Google
85
85
  if credentials.is_a?(String) || credentials.is_a?(Hash)
86
86
  credentials = Credentials.new credentials, scope: @config.scope
87
87
  end
88
+ @quota_project_id = @config.quota_project
89
+ @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
88
90
 
89
91
  @operations_stub = ::Gapic::ServiceStub.new(
90
92
  ::Google::Longrunning::Operations::Stub,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Asset
23
23
  module V1beta1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-asset-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-20 00:00:00.000000000 Z
11
+ date: 2020-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -191,7 +191,6 @@ files:
191
191
  - lib/google/cloud/asset/v1beta1/asset_service_services_pb.rb
192
192
  - lib/google/cloud/asset/v1beta1/assets_pb.rb
193
193
  - lib/google/cloud/asset/v1beta1/version.rb
194
- - lib/google/cloud/common_resources_pb.rb
195
194
  - lib/google/cloud/orgpolicy/v1/orgpolicy_pb.rb
196
195
  - proto_docs/README.md
197
196
  - proto_docs/google/api/field_behavior.rb
@@ -1,15 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/common_resources.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/resource_pb'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
9
- end
10
- end
11
-
12
- module Google
13
- module Cloud
14
- end
15
- end