google-cloud-billing-v1 0.10.0 → 0.11.0

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: d5d09e6b80c1c7253a34912a55c87335062a3c7f8934ca0330c1fc8bb170aafc
4
- data.tar.gz: 7c9acff077fcee48d8e581ce50cf74404d27b0f7ad846491fc24131c6a455477
3
+ metadata.gz: 8af908c3f6293aa7458e5ffaff9cf50e53d60397c67179946cd57ed54df9d7d8
4
+ data.tar.gz: bab2cf3bf6aec0c15bab4204d020f359a659a1b4b19e12cca07c0a8fefb1f646
5
5
  SHA512:
6
- metadata.gz: f906aa45ca02904e554c00c7d21f4112c04cebfb4ad23a7664d962941a74412d97e88c2c384114ce06aac6ecc672d3ae0aaa2b41d312e00ce81b8eb6441b0758
7
- data.tar.gz: 8604f25706da081b7e0e8b5afb8f185d0d5643db636b952e88f8469bbf4dd02592b74c85730ff4c968300b824195fd66e60b1a0853214b76890987da6bab3bde
6
+ metadata.gz: 772e1df0b42de029c3a04e36d5c45badf62f88379c0781938b482891b78c1fab678e056e70e93c9d46ebf97155e64192c048c6a62a70673ba1d11a4556e476c1
7
+ data.tar.gz: 9958ebb1b3676ffaac5a5411c33ea060230238cb804e1102a9e876f8b8abe3a9ae9da3d2545e3f11c941f27cc9abf51512d3c0c5c102966083f69ea8b2ae845e
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Billing V1 API
2
2
 
3
- API Client library for the Billing V1 API
3
+ Allows developers to manage billing for their Google Cloud Platform projects programmatically.
4
4
 
5
5
  Allows developers to manage billing for their Google Cloud Platform projects programmatically.
6
6
 
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -213,8 +213,8 @@ module Google
213
213
  # the default parameter values, pass an empty Hash as a request object (see above).
214
214
  #
215
215
  # @param name [::String]
216
- # Required. The resource name of the billing account to retrieve. For example,
217
- # `billingAccounts/012345-567890-ABCDEF`.
216
+ # Required. The resource name of the billing account to retrieve. For
217
+ # example, `billingAccounts/012345-567890-ABCDEF`.
218
218
  #
219
219
  # @yield [response, operation] Access the result along with the RPC operation
220
220
  # @yieldparam response [::Google::Cloud::Billing::V1::BillingAccount]
@@ -335,13 +335,11 @@ module Google
335
335
  # # Call the list_billing_accounts method.
336
336
  # result = client.list_billing_accounts request
337
337
  #
338
- # # The returned object is of type Gapic::PagedEnumerable. You can
339
- # # iterate over all elements by calling #each, and the enumerable
340
- # # will lazily make API calls to fetch subsequent pages. Other
341
- # # methods are also available for managing paging directly.
342
- # result.each do |response|
338
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
339
+ # # over elements, and API calls will be issued to fetch pages as needed.
340
+ # result.each do |item|
343
341
  # # Each element is of type ::Google::Cloud::Billing::V1::BillingAccount.
344
- # p response
342
+ # p item
345
343
  # end
346
344
  #
347
345
  def list_billing_accounts request, options = nil
@@ -404,7 +402,8 @@ module Google
404
402
  # @param name [::String]
405
403
  # Required. The name of the billing account resource to be updated.
406
404
  # @param account [::Google::Cloud::Billing::V1::BillingAccount, ::Hash]
407
- # Required. The billing account resource to replace the resource on the server.
405
+ # Required. The billing account resource to replace the resource on the
406
+ # server.
408
407
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
409
408
  # The update mask applied to the resource.
410
409
  # Only "display_name" is currently supported.
@@ -589,8 +588,9 @@ module Google
589
588
  # the default parameter values, pass an empty Hash as a request object (see above).
590
589
  #
591
590
  # @param name [::String]
592
- # Required. The resource name of the billing account associated with the projects that
593
- # you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
591
+ # Required. The resource name of the billing account associated with the
592
+ # projects that you want to list. For example,
593
+ # `billingAccounts/012345-567890-ABCDEF`.
594
594
  # @param page_size [::Integer]
595
595
  # Requested page size. The maximum page size is 100; this is also the
596
596
  # default.
@@ -619,13 +619,11 @@ module Google
619
619
  # # Call the list_project_billing_info method.
620
620
  # result = client.list_project_billing_info request
621
621
  #
622
- # # The returned object is of type Gapic::PagedEnumerable. You can
623
- # # iterate over all elements by calling #each, and the enumerable
624
- # # will lazily make API calls to fetch subsequent pages. Other
625
- # # methods are also available for managing paging directly.
626
- # result.each do |response|
622
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
623
+ # # over elements, and API calls will be issued to fetch pages as needed.
624
+ # result.each do |item|
627
625
  # # Each element is of type ::Google::Cloud::Billing::V1::ProjectBillingInfo.
628
- # p response
626
+ # p item
629
627
  # end
630
628
  #
631
629
  def list_project_billing_info request, options = nil
@@ -809,8 +807,9 @@ module Google
809
807
  # the default parameter values, pass an empty Hash as a request object (see above).
810
808
  #
811
809
  # @param name [::String]
812
- # Required. The resource name of the project associated with the billing information
813
- # that you want to update. For example, `projects/tokyo-rain-123`.
810
+ # Required. The resource name of the project associated with the billing
811
+ # information that you want to update. For example,
812
+ # `projects/tokyo-rain-123`.
814
813
  # @param project_billing_info [::Google::Cloud::Billing::V1::ProjectBillingInfo, ::Hash]
815
814
  # The new billing information for the project. Read-only fields are ignored;
816
815
  # thus, you can leave empty all fields except `billing_account_name`.