google-cloud-billing-v1 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89f7da3ecb6c2ae6dcddf4d0d2bfd2a2693aab670733ddd251a1115d1755f492
4
- data.tar.gz: 3998ec6d4e0b718860cd0ed5f8d3506bb40cd78274595cb12de80a5aecdc4b36
3
+ metadata.gz: 4c1dc473caf327657f054674da1d60df941428009b6b08320151509d5a5d0c0e
4
+ data.tar.gz: 85a42de8b43579f88ded56e869841b228b5094fc9e7148e9cf349a5278fe13c5
5
5
  SHA512:
6
- metadata.gz: bc83fc57ca20d023383c8dbbadefd566edfc80d59983bbc6285f798b049fb36a6d835df937b3e6cdeb0516eee58c2c6820dc61c1f0228ce241b49c85d792a737
7
- data.tar.gz: 4c1b54179909722e19d7eb029b8e0a880292a343d3fc0a43aff43774bc63f13c9bb3d993dd4b4b3f876a92a1a425618e81178112a703061dd79c061409b730c1
6
+ metadata.gz: f4d6a80f8214c1cfc3a5f68325aabb0329583e2e540bcd1defab1e9e6c0647e5822b8c5c12b9030000c65b89f805ad571e7b86ad206e4921c34aaf7cc003d205
7
+ data.tar.gz: ec7bdb78edcf0c0022012c8118008d9843d2ba62ee58615b42a5b3e6563ca5169631cab06926229655341b3ee184d347b1623265a6694efd335dcce4afd96bcd
@@ -70,7 +70,7 @@ module Google
70
70
  initial_delay: 0.1,
71
71
  max_delay: 60.0,
72
72
  multiplier: 1.3,
73
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
73
+ retry_codes: [4, 14]
74
74
  }
75
75
 
76
76
  default_config.rpcs.list_billing_accounts.timeout = 60.0
@@ -78,7 +78,7 @@ module Google
78
78
  initial_delay: 0.1,
79
79
  max_delay: 60.0,
80
80
  multiplier: 1.3,
81
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
81
+ retry_codes: [4, 14]
82
82
  }
83
83
 
84
84
  default_config.rpcs.update_billing_account.timeout = 60.0
@@ -86,7 +86,7 @@ module Google
86
86
  initial_delay: 0.1,
87
87
  max_delay: 60.0,
88
88
  multiplier: 1.3,
89
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
89
+ retry_codes: [4, 14]
90
90
  }
91
91
 
92
92
  default_config.rpcs.create_billing_account.timeout = 60.0
@@ -96,7 +96,7 @@ module Google
96
96
  initial_delay: 0.1,
97
97
  max_delay: 60.0,
98
98
  multiplier: 1.3,
99
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
99
+ retry_codes: [4, 14]
100
100
  }
101
101
 
102
102
  default_config.rpcs.get_project_billing_info.timeout = 60.0
@@ -104,7 +104,7 @@ module Google
104
104
  initial_delay: 0.1,
105
105
  max_delay: 60.0,
106
106
  multiplier: 1.3,
107
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
107
+ retry_codes: [4, 14]
108
108
  }
109
109
 
110
110
  default_config.rpcs.update_project_billing_info.timeout = 60.0
@@ -112,7 +112,7 @@ module Google
112
112
  initial_delay: 0.1,
113
113
  max_delay: 60.0,
114
114
  multiplier: 1.3,
115
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
115
+ retry_codes: [4, 14]
116
116
  }
117
117
 
118
118
  default_config.rpcs.get_iam_policy.timeout = 60.0
@@ -120,7 +120,7 @@ module Google
120
120
  initial_delay: 0.1,
121
121
  max_delay: 60.0,
122
122
  multiplier: 1.3,
123
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
123
+ retry_codes: [4, 14]
124
124
  }
125
125
 
126
126
  default_config.rpcs.set_iam_policy.timeout = 60.0
@@ -128,7 +128,7 @@ module Google
128
128
  initial_delay: 0.1,
129
129
  max_delay: 60.0,
130
130
  multiplier: 1.3,
131
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
131
+ retry_codes: [4, 14]
132
132
  }
133
133
 
134
134
  default_config.rpcs.test_iam_permissions.timeout = 60.0
@@ -136,7 +136,7 @@ module Google
136
136
  initial_delay: 0.1,
137
137
  max_delay: 60.0,
138
138
  multiplier: 1.3,
139
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
139
+ retry_codes: [4, 14]
140
140
  }
141
141
 
142
142
  default_config
@@ -37,18 +37,18 @@ module Google
37
37
  # Gets information about a billing account. The current authenticated user
38
38
  # must be a [viewer of the billing
39
39
  # account](https://cloud.google.com/billing/docs/how-to/billing-access).
40
- rpc :GetBillingAccount, GetBillingAccountRequest, BillingAccount
40
+ rpc :GetBillingAccount, Google::Cloud::Billing::V1::GetBillingAccountRequest, Google::Cloud::Billing::V1::BillingAccount
41
41
  # Lists the billing accounts that the current authenticated user has
42
42
  # permission to
43
43
  # [view](https://cloud.google.com/billing/docs/how-to/billing-access).
44
- rpc :ListBillingAccounts, ListBillingAccountsRequest, ListBillingAccountsResponse
44
+ rpc :ListBillingAccounts, Google::Cloud::Billing::V1::ListBillingAccountsRequest, Google::Cloud::Billing::V1::ListBillingAccountsResponse
45
45
  # Updates a billing account's fields.
46
46
  # Currently the only field that can be edited is `display_name`.
47
47
  # The current authenticated user must have the `billing.accounts.update`
48
48
  # IAM permission, which is typically given to the
49
49
  # [administrator](https://cloud.google.com/billing/docs/how-to/billing-access)
50
50
  # of the billing account.
51
- rpc :UpdateBillingAccount, UpdateBillingAccountRequest, BillingAccount
51
+ rpc :UpdateBillingAccount, Google::Cloud::Billing::V1::UpdateBillingAccountRequest, Google::Cloud::Billing::V1::BillingAccount
52
52
  # Creates a billing account.
53
53
  # This method can only be used to create
54
54
  # [billing subaccounts](https://cloud.google.com/billing/docs/concepts)
@@ -59,17 +59,17 @@ module Google
59
59
  # [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
60
60
  # This method will return an error if the master account has not been
61
61
  # provisioned as a reseller account.
62
- rpc :CreateBillingAccount, CreateBillingAccountRequest, BillingAccount
62
+ rpc :CreateBillingAccount, Google::Cloud::Billing::V1::CreateBillingAccountRequest, Google::Cloud::Billing::V1::BillingAccount
63
63
  # Lists the projects associated with a billing account. The current
64
64
  # authenticated user must have the `billing.resourceAssociations.list` IAM
65
65
  # permission, which is often given to billing account
66
66
  # [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
67
- rpc :ListProjectBillingInfo, ListProjectBillingInfoRequest, ListProjectBillingInfoResponse
67
+ rpc :ListProjectBillingInfo, Google::Cloud::Billing::V1::ListProjectBillingInfoRequest, Google::Cloud::Billing::V1::ListProjectBillingInfoResponse
68
68
  # Gets the billing information for a project. The current authenticated user
69
69
  # must have [permission to view the
70
70
  # project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
71
71
  # ).
72
- rpc :GetProjectBillingInfo, GetProjectBillingInfoRequest, ProjectBillingInfo
72
+ rpc :GetProjectBillingInfo, Google::Cloud::Billing::V1::GetProjectBillingInfoRequest, Google::Cloud::Billing::V1::ProjectBillingInfo
73
73
  # Sets or updates the billing account associated with a project. You specify
74
74
  # the new billing account by setting the `billing_account_name` in the
75
75
  # `ProjectBillingInfo` resource to the resource name of a billing account.
@@ -101,7 +101,7 @@ module Google
101
101
  # resources used by the project will be shut down. Thus, unless you wish to
102
102
  # disable billing, you should always call this method with the name of an
103
103
  # *open* billing account.
104
- rpc :UpdateProjectBillingInfo, UpdateProjectBillingInfoRequest, ProjectBillingInfo
104
+ rpc :UpdateProjectBillingInfo, Google::Cloud::Billing::V1::UpdateProjectBillingInfoRequest, Google::Cloud::Billing::V1::ProjectBillingInfo
105
105
  # Gets the access control policy for a billing account.
106
106
  # The caller must have the `billing.accounts.getIamPolicy` permission on the
107
107
  # account, which is often given to billing account
@@ -37,9 +37,9 @@ module Google
37
37
  self.service_name = 'google.cloud.billing.v1.CloudCatalog'
38
38
 
39
39
  # Lists all public cloud services.
40
- rpc :ListServices, ListServicesRequest, ListServicesResponse
40
+ rpc :ListServices, Google::Cloud::Billing::V1::ListServicesRequest, Google::Cloud::Billing::V1::ListServicesResponse
41
41
  # Lists all publicly available SKUs for a given cloud service.
42
- rpc :ListSkus, ListSkusRequest, ListSkusResponse
42
+ rpc :ListSkus, Google::Cloud::Billing::V1::ListSkusRequest, Google::Cloud::Billing::V1::ListSkusResponse
43
43
  end
44
44
 
45
45
  Stub = Service.rpc_stub_class
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Billing
23
23
  module V1
24
- VERSION = "0.5.3"
24
+ VERSION = "0.5.4"
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-billing-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
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-06-18 00:00:00.000000000 Z
11
+ date: 2020-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.2'
26
+ version: '0.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement