google-cloud-billing-budgets-v1 0.1.2 → 0.3.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: 7a1176f9859040131f7ffc3c033a4fcaa2ce966b1469bd60cac6544c3ac514bf
4
- data.tar.gz: fc1099b18deb34d8e9c6058940afa4a1753721a3836d0a118fdc04447829e9b7
3
+ metadata.gz: 20fc05e5e0f9a8054f0e12640e175bce23692ae4cc65781299ef6b313f894e24
4
+ data.tar.gz: 3506c113cd08912da748553b3007730f71744d851ac6792cfe6bcec7082f155d
5
5
  SHA512:
6
- metadata.gz: 42420b34fbe61af8a5abb435daa1e1f193170567a08afbb7dafd35755a0d0dafdc88d35ede5fbd57cfbce118d540f5f6ae57065a707d29f5ddd46b611cdd487c
7
- data.tar.gz: e9dc7a53c1ffd7c184657ea3beecdca30a6bc3de559d786544627a4908a17005f233e98d877a0b1940bf913b64287a6d581f76069c0d70d74b222595ff74d852
6
+ metadata.gz: 982e23a84f6b00be82e5fb444b511ee15915a00e84dbdc86c389211f31e73d5b3018768347967afc85d30ec897df0f867ad342ffae8880a21ed2d459e9c5fcc0
7
+ data.tar.gz: 17e90755189ea432ed3e3ea99457925a2c1eabe1a3e41e05415482be48d6baee5227571a520434710ad60c8bb571819797ea653067230e0201d2fd2ff2960510
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Billing Budgets V1 API
2
2
 
3
- API Client library for the Billing Budgets V1 API
3
+ The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.
4
4
 
5
5
  Provides methods to view, create, and manage Cloud Billing budgets programmatically at scale.
6
6
 
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Billing::Budgets::V1::CreateBudgetRequest.new # (requ
37
37
  response = client.create_budget request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-billing-budgets-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-billing-budgets-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/billing/docs/how-to/budget-api-overview)
@@ -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.
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/billing/budgets/v1/budget_model.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/protobuf/struct_pb'
7
9
  require 'google/type/date_pb'
8
10
  require 'google/type/money_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/billing/budgets/v1/budget_model.proto", :syntax => :proto3) do
@@ -500,13 +500,11 @@ module Google
500
500
  # # Call the list_budgets method.
501
501
  # result = client.list_budgets request
502
502
  #
503
- # # The returned object is of type Gapic::PagedEnumerable. You can
504
- # # iterate over all elements by calling #each, and the enumerable
505
- # # will lazily make API calls to fetch subsequent pages. Other
506
- # # methods are also available for managing paging directly.
507
- # result.each do |response|
503
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
504
+ # # over elements, and API calls will be issued to fetch pages as needed.
505
+ # result.each do |item|
508
506
  # # Each element is of type ::Google::Cloud::Billing::Budgets::V1::Budget.
509
- # p response
507
+ # p item
510
508
  # end
511
509
  #
512
510
  def list_budgets request, options = nil