google-cloud-scheduler 1.1.2 → 1.2.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: '09a8f1f1466402fdcb543f5d9d00c9cf45779917a706d049805d6a3cdf1e32b9'
4
- data.tar.gz: b1ff0efbbda0a91af89b206a61094c69ebaa32e5684e8502723d30ffd24a991d
3
+ metadata.gz: 949142119f1b35c2963569e054812c5c848b90750232b1bf078295386da3b2fd
4
+ data.tar.gz: ba8ee8c3d87781d62d6c6beaab455477aae7f8c44651f8ce3bd541d1b0513465
5
5
  SHA512:
6
- metadata.gz: ae4e71f1c3b33da692b76efab9011fe3a944926d1d6604ebca2728453acdfde294902230077f6e1b69dd03ed0a8ed1f025f41299f8ae3e7604fc3a2da6060f62
7
- data.tar.gz: 749c7abcd44186048ccf32a19372f7bc734ad732d230d8942e76842cbce3dd6b4ed646b81960e8cfc114d88f7abd46553c1a647eb88ecbe1f5ce4f0ae9f8a08b
6
+ metadata.gz: e572711c0f19fdfbe0dee43a76946e2b2b2d06a949f6720e605ca7e3ec7b154d2d319522a19a969b364ed71fab3c4b4d46b438cbdce20c823d37438143a891a4
7
+ data.tar.gz: 19571e0efd5ca0dd99401939c37db2fdced7a037f46ba7feed0e3356c27433c61f79c946f0b7b75b277cdecd27b73137c13c1c187432e08f9a158c3c66ab794c
@@ -41,7 +41,7 @@ code.
41
41
  1. Specify project ID in method arguments
42
42
  2. Specify project ID in configuration
43
43
  3. Discover project ID in environment variables
44
- 4. Discover GCE project ID
44
+ 4. Discover GCP project ID
45
45
  5. Discover project ID in credentials JSON
46
46
 
47
47
  **Credentials** are discovered in the following order:
@@ -51,36 +51,14 @@ code.
51
51
  3. Discover credentials path in environment variables
52
52
  4. Discover credentials JSON in environment variables
53
53
  5. Discover credentials file in the Cloud SDK's path
54
- 6. Discover GCE credentials
54
+ 6. Discover GCP credentials
55
55
 
56
56
  ### Google Cloud Platform environments
57
57
 
58
- While running on Google Cloud Platform environments such as Google Compute
59
- Engine, Google App Engine and Google Kubernetes Engine, no extra work is needed.
60
- The **Project ID** and **Credentials** and are discovered automatically. Code
61
- should be written as if already authenticated. Just be sure when you [set up the
62
- GCE instance][gce-how-to], you add the correct scopes for the APIs you want to
63
- access. For example:
64
-
65
- * **All APIs**
66
- * `https://www.googleapis.com/auth/cloud-platform`
67
- * `https://www.googleapis.com/auth/cloud-platform.read-only`
68
- * **BigQuery**
69
- * `https://www.googleapis.com/auth/bigquery`
70
- * `https://www.googleapis.com/auth/bigquery.insertdata`
71
- * **Compute Engine**
72
- * `https://www.googleapis.com/auth/compute`
73
- * **Datastore**
74
- * `https://www.googleapis.com/auth/datastore`
75
- * `https://www.googleapis.com/auth/userinfo.email`
76
- * **DNS**
77
- * `https://www.googleapis.com/auth/ndev.clouddns.readwrite`
78
- * **Pub/Sub**
79
- * `https://www.googleapis.com/auth/pubsub`
80
- * **Storage**
81
- * `https://www.googleapis.com/auth/devstorage.full_control`
82
- * `https://www.googleapis.com/auth/devstorage.read_only`
83
- * `https://www.googleapis.com/auth/devstorage.read_write`
58
+ When running on Google Cloud Platform (GCP), including Google Compute Engine (GCE),
59
+ Google Kubernetes Engine (GKE), Google App Engine (GAE), Google Cloud Functions
60
+ (GCF) and Cloud Run, the **Project ID** and **Credentials** and are discovered
61
+ automatically. Code should be written as if already authenticated.
84
62
 
85
63
  ### Environment Variables
86
64
 
data/README.md CHANGED
@@ -58,11 +58,11 @@ end
58
58
 
59
59
  ## Supported Ruby Versions
60
60
 
61
- This library is supported on Ruby 2.3+.
61
+ This library is supported on Ruby 2.4+.
62
62
 
63
63
  Google provides official support for Ruby versions that are actively supported
64
64
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
65
- in security maintenance, and not end of life. Currently, this means Ruby 2.3
65
+ in security maintenance, and not end of life. Currently, this means Ruby 2.4
66
66
  and later. Older versions of Ruby _may_ still work, but are unsupported and not
67
67
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
68
68
  about the Ruby support schedule.
@@ -42,6 +42,9 @@ module Google
42
42
  # @private
43
43
  attr_reader :cloud_scheduler_stub
44
44
 
45
+ # @deprecated
46
+ def self.project_path project; "projects/#{project}"; end
47
+
45
48
  # The default address of the service.
46
49
  SERVICE_ADDRESS = "cloudscheduler.googleapis.com".freeze
47
50
 
@@ -81,12 +84,6 @@ module Google
81
84
 
82
85
  private_constant :LOCATION_PATH_TEMPLATE
83
86
 
84
- PROJECT_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
85
- "projects/{project}"
86
- )
87
-
88
- private_constant :PROJECT_PATH_TEMPLATE
89
-
90
87
  # Returns a fully-qualified job resource name string.
91
88
  # @param project [String]
92
89
  # @param location [String]
@@ -111,15 +108,6 @@ module Google
111
108
  )
112
109
  end
113
110
 
114
- # Returns a fully-qualified project resource name string.
115
- # @param project [String]
116
- # @return [String]
117
- def self.project_path project
118
- PROJECT_PATH_TEMPLATE.render(
119
- :"project" => project
120
- )
121
- end
122
-
123
111
  # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
124
112
  # Provides the means for authenticating requests made by the client. This parameter can
125
113
  # be many types.
@@ -21,42 +21,42 @@
21
21
  },
22
22
  "methods": {
23
23
  "ListJobs": {
24
- "timeout_millis": 30000,
24
+ "timeout_millis": 60000,
25
25
  "retry_codes_name": "idempotent",
26
26
  "retry_params_name": "default"
27
27
  },
28
28
  "GetJob": {
29
- "timeout_millis": 30000,
29
+ "timeout_millis": 60000,
30
30
  "retry_codes_name": "idempotent",
31
31
  "retry_params_name": "default"
32
32
  },
33
33
  "CreateJob": {
34
- "timeout_millis": 30000,
34
+ "timeout_millis": 60000,
35
35
  "retry_codes_name": "non_idempotent",
36
36
  "retry_params_name": "default"
37
37
  },
38
38
  "UpdateJob": {
39
- "timeout_millis": 30000,
39
+ "timeout_millis": 60000,
40
40
  "retry_codes_name": "non_idempotent",
41
41
  "retry_params_name": "default"
42
42
  },
43
43
  "DeleteJob": {
44
- "timeout_millis": 30000,
45
- "retry_codes_name": "idempotent",
44
+ "timeout_millis": 60000,
45
+ "retry_codes_name": "non_idempotent",
46
46
  "retry_params_name": "default"
47
47
  },
48
48
  "PauseJob": {
49
- "timeout_millis": 30000,
49
+ "timeout_millis": 60000,
50
50
  "retry_codes_name": "non_idempotent",
51
51
  "retry_params_name": "default"
52
52
  },
53
53
  "ResumeJob": {
54
- "timeout_millis": 30000,
54
+ "timeout_millis": 60000,
55
55
  "retry_codes_name": "non_idempotent",
56
56
  "retry_params_name": "default"
57
57
  },
58
58
  "RunJob": {
59
- "timeout_millis": 30000,
59
+ "timeout_millis": 60000,
60
60
  "retry_codes_name": "non_idempotent",
61
61
  "retry_params_name": "default"
62
62
  }
@@ -42,6 +42,9 @@ module Google
42
42
  # @private
43
43
  attr_reader :cloud_scheduler_stub
44
44
 
45
+ # @deprecated
46
+ def self.project_path project; "projects/#{project}"; end
47
+
45
48
  # The default address of the service.
46
49
  SERVICE_ADDRESS = "cloudscheduler.googleapis.com".freeze
47
50
 
@@ -81,12 +84,6 @@ module Google
81
84
 
82
85
  private_constant :LOCATION_PATH_TEMPLATE
83
86
 
84
- PROJECT_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
85
- "projects/{project}"
86
- )
87
-
88
- private_constant :PROJECT_PATH_TEMPLATE
89
-
90
87
  # Returns a fully-qualified job resource name string.
91
88
  # @param project [String]
92
89
  # @param location [String]
@@ -111,15 +108,6 @@ module Google
111
108
  )
112
109
  end
113
110
 
114
- # Returns a fully-qualified project resource name string.
115
- # @param project [String]
116
- # @return [String]
117
- def self.project_path project
118
- PROJECT_PATH_TEMPLATE.render(
119
- :"project" => project
120
- )
121
- end
122
-
123
111
  # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
124
112
  # Provides the means for authenticating requests made by the client. This parameter can
125
113
  # be many types.
@@ -300,9 +288,7 @@ module Google
300
288
  # Lists jobs.
301
289
  #
302
290
  # @param parent [String]
303
- # Required.
304
- #
305
- # The location name. For example:
291
+ # Required. The location name. For example:
306
292
  # `projects/PROJECT_ID/locations/LOCATION_ID`.
307
293
  # @param page_size [Integer]
308
294
  # The maximum number of resources contained in the underlying API
@@ -357,9 +343,7 @@ module Google
357
343
  # Gets a job.
358
344
  #
359
345
  # @param name [String]
360
- # Required.
361
- #
362
- # The job name. For example:
346
+ # Required. The job name. For example:
363
347
  # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
364
348
  # @param options [Google::Gax::CallOptions]
365
349
  # Overrides the default settings for this call, e.g, timeout,
@@ -390,14 +374,10 @@ module Google
390
374
  # Creates a job.
391
375
  #
392
376
  # @param parent [String]
393
- # Required.
394
- #
395
- # The location name. For example:
377
+ # Required. The location name. For example:
396
378
  # `projects/PROJECT_ID/locations/LOCATION_ID`.
397
379
  # @param job [Google::Cloud::Scheduler::V1beta1::Job | Hash]
398
- # Required.
399
- #
400
- # The job to add. The user can optionally specify a name for the
380
+ # Required. The job to add. The user can optionally specify a name for the
401
381
  # job in {Google::Cloud::Scheduler::V1beta1::Job#name name}. {Google::Cloud::Scheduler::V1beta1::Job#name name} cannot be the same as an
402
382
  # existing job. If a name is not specified then the system will
403
383
  # generate a random unique name that will be returned
@@ -446,9 +426,7 @@ module Google
446
426
  # until a successful response is received.
447
427
  #
448
428
  # @param job [Google::Cloud::Scheduler::V1beta1::Job | Hash]
449
- # Required.
450
- #
451
- # The new job properties. {Google::Cloud::Scheduler::V1beta1::Job#name name} must be specified.
429
+ # Required. The new job properties. {Google::Cloud::Scheduler::V1beta1::Job#name name} must be specified.
452
430
  #
453
431
  # Output only fields cannot be modified using UpdateJob.
454
432
  # Any value specified for an output only field will be ignored.
@@ -491,9 +469,7 @@ module Google
491
469
  # Deletes a job.
492
470
  #
493
471
  # @param name [String]
494
- # Required.
495
- #
496
- # The job name. For example:
472
+ # Required. The job name. For example:
497
473
  # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
498
474
  # @param options [Google::Gax::CallOptions]
499
475
  # Overrides the default settings for this call, e.g, timeout,
@@ -530,9 +506,7 @@ module Google
530
506
  # to be paused.
531
507
  #
532
508
  # @param name [String]
533
- # Required.
534
- #
535
- # The job name. For example:
509
+ # Required. The job name. For example:
536
510
  # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
537
511
  # @param options [Google::Gax::CallOptions]
538
512
  # Overrides the default settings for this call, e.g, timeout,
@@ -568,9 +542,7 @@ module Google
568
542
  # {Google::Cloud::Scheduler::V1beta1::Job::State::PAUSED Job::State::PAUSED} to be resumed.
569
543
  #
570
544
  # @param name [String]
571
- # Required.
572
- #
573
- # The job name. For example:
545
+ # Required. The job name. For example:
574
546
  # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
575
547
  # @param options [Google::Gax::CallOptions]
576
548
  # Overrides the default settings for this call, e.g, timeout,
@@ -604,9 +576,7 @@ module Google
604
576
  # if the job is already running.
605
577
  #
606
578
  # @param name [String]
607
- # Required.
608
- #
609
- # The job name. For example:
579
+ # Required. The job name. For example:
610
580
  # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
611
581
  # @param options [Google::Gax::CallOptions]
612
582
  # Overrides the default settings for this call, e.g, timeout,
@@ -21,42 +21,42 @@
21
21
  },
22
22
  "methods": {
23
23
  "ListJobs": {
24
- "timeout_millis": 10000,
24
+ "timeout_millis": 60000,
25
25
  "retry_codes_name": "idempotent",
26
26
  "retry_params_name": "default"
27
27
  },
28
28
  "GetJob": {
29
- "timeout_millis": 10000,
29
+ "timeout_millis": 60000,
30
30
  "retry_codes_name": "idempotent",
31
31
  "retry_params_name": "default"
32
32
  },
33
33
  "CreateJob": {
34
- "timeout_millis": 10000,
34
+ "timeout_millis": 60000,
35
35
  "retry_codes_name": "non_idempotent",
36
36
  "retry_params_name": "default"
37
37
  },
38
38
  "UpdateJob": {
39
- "timeout_millis": 10000,
39
+ "timeout_millis": 60000,
40
40
  "retry_codes_name": "non_idempotent",
41
41
  "retry_params_name": "default"
42
42
  },
43
43
  "DeleteJob": {
44
- "timeout_millis": 10000,
45
- "retry_codes_name": "idempotent",
44
+ "timeout_millis": 60000,
45
+ "retry_codes_name": "non_idempotent",
46
46
  "retry_params_name": "default"
47
47
  },
48
48
  "PauseJob": {
49
- "timeout_millis": 10000,
50
- "retry_codes_name": "idempotent",
49
+ "timeout_millis": 60000,
50
+ "retry_codes_name": "non_idempotent",
51
51
  "retry_params_name": "default"
52
52
  },
53
53
  "ResumeJob": {
54
- "timeout_millis": 10000,
55
- "retry_codes_name": "idempotent",
54
+ "timeout_millis": 60000,
55
+ "retry_codes_name": "non_idempotent",
56
56
  "retry_params_name": "default"
57
57
  },
58
58
  "RunJob": {
59
- "timeout_millis": 10000,
59
+ "timeout_millis": 60000,
60
60
  "retry_codes_name": "non_idempotent",
61
61
  "retry_params_name": "default"
62
62
  }
@@ -5,6 +5,8 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
8
10
  require 'google/api/resource_pb'
9
11
  require 'google/cloud/scheduler/v1beta1/job_pb'
10
12
  require 'google/protobuf/empty_pb'
@@ -20,9 +20,7 @@ module Google
20
20
  # Request message for listing jobs using {Google::Cloud::Scheduler::V1beta1::CloudScheduler::ListJobs ListJobs}.
21
21
  # @!attribute [rw] parent
22
22
  # @return [String]
23
- # Required.
24
- #
25
- # The location name. For example:
23
+ # Required. The location name. For example:
26
24
  # `projects/PROJECT_ID/locations/LOCATION_ID`.
27
25
  # @!attribute [rw] page_size
28
26
  # @return [Integer]
@@ -61,24 +59,18 @@ module Google
61
59
  # Request message for {Google::Cloud::Scheduler::V1beta1::CloudScheduler::GetJob GetJob}.
62
60
  # @!attribute [rw] name
63
61
  # @return [String]
64
- # Required.
65
- #
66
- # The job name. For example:
62
+ # Required. The job name. For example:
67
63
  # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
68
64
  class GetJobRequest; end
69
65
 
70
66
  # Request message for {Google::Cloud::Scheduler::V1beta1::CloudScheduler::CreateJob CreateJob}.
71
67
  # @!attribute [rw] parent
72
68
  # @return [String]
73
- # Required.
74
- #
75
- # The location name. For example:
69
+ # Required. The location name. For example:
76
70
  # `projects/PROJECT_ID/locations/LOCATION_ID`.
77
71
  # @!attribute [rw] job
78
72
  # @return [Google::Cloud::Scheduler::V1beta1::Job]
79
- # Required.
80
- #
81
- # The job to add. The user can optionally specify a name for the
73
+ # Required. The job to add. The user can optionally specify a name for the
82
74
  # job in {Google::Cloud::Scheduler::V1beta1::Job#name name}. {Google::Cloud::Scheduler::V1beta1::Job#name name} cannot be the same as an
83
75
  # existing job. If a name is not specified then the system will
84
76
  # generate a random unique name that will be returned
@@ -88,9 +80,7 @@ module Google
88
80
  # Request message for {Google::Cloud::Scheduler::V1beta1::CloudScheduler::UpdateJob UpdateJob}.
89
81
  # @!attribute [rw] job
90
82
  # @return [Google::Cloud::Scheduler::V1beta1::Job]
91
- # Required.
92
- #
93
- # The new job properties. {Google::Cloud::Scheduler::V1beta1::Job#name name} must be specified.
83
+ # Required. The new job properties. {Google::Cloud::Scheduler::V1beta1::Job#name name} must be specified.
94
84
  #
95
85
  # Output only fields cannot be modified using UpdateJob.
96
86
  # Any value specified for an output only field will be ignored.
@@ -103,27 +93,21 @@ module Google
103
93
  # {Google::Cloud::Scheduler::V1beta1::CloudScheduler::DeleteJob DeleteJob}.
104
94
  # @!attribute [rw] name
105
95
  # @return [String]
106
- # Required.
107
- #
108
- # The job name. For example:
96
+ # Required. The job name. For example:
109
97
  # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
110
98
  class DeleteJobRequest; end
111
99
 
112
100
  # Request message for {Google::Cloud::Scheduler::V1beta1::CloudScheduler::PauseJob PauseJob}.
113
101
  # @!attribute [rw] name
114
102
  # @return [String]
115
- # Required.
116
- #
117
- # The job name. For example:
103
+ # Required. The job name. For example:
118
104
  # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
119
105
  class PauseJobRequest; end
120
106
 
121
107
  # Request message for {Google::Cloud::Scheduler::V1beta1::CloudScheduler::ResumeJob ResumeJob}.
122
108
  # @!attribute [rw] name
123
109
  # @return [String]
124
- # Required.
125
- #
126
- # The job name. For example:
110
+ # Required. The job name. For example:
127
111
  # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
128
112
  class ResumeJobRequest; end
129
113
 
@@ -131,9 +115,7 @@ module Google
131
115
  # {Google::Cloud::Scheduler::V1beta1::CloudScheduler::RunJob RunJob}.
132
116
  # @!attribute [rw] name
133
117
  # @return [String]
134
- # Required.
135
- #
136
- # The job name. For example:
118
+ # Required. The job name. For example:
137
119
  # `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
138
120
  class RunJobRequest; end
139
121
  end
@@ -25,9 +25,7 @@ module Google
25
25
  # returned by the redirected request is considered.
26
26
  # @!attribute [rw] uri
27
27
  # @return [String]
28
- # Required.
29
- #
30
- # The full URI path that the request will be sent to. This string
28
+ # Required. The full URI path that the request will be sent to. This string
31
29
  # must begin with either "http://" or "https://". Some examples of
32
30
  # valid values for {Google::Cloud::Scheduler::V1beta1::HttpTarget#uri uri} are:
33
31
  # `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will
@@ -65,8 +63,8 @@ module Google
65
63
  # will be generated and attached as an `Authorization` header in the HTTP
66
64
  # request.
67
65
  #
68
- # This type of authorization should be used when sending requests to a GCP
69
- # endpoint.
66
+ # This type of authorization should generally only be used when calling
67
+ # Google APIs hosted on *.googleapis.com.
70
68
  # @!attribute [rw] oidc_token
71
69
  # @return [Google::Cloud::Scheduler::V1beta1::OidcToken]
72
70
  # If specified, an
@@ -74,8 +72,9 @@ module Google
74
72
  # token will be generated and attached as an `Authorization` header in the
75
73
  # HTTP request.
76
74
  #
77
- # This type of authorization should be used when sending requests to third
78
- # party endpoints.
75
+ # This type of authorization can be used for many scenarios, including
76
+ # calling Cloud Run, or endpoints where you intend to validate the token
77
+ # yourself.
79
78
  class HttpTarget; end
80
79
 
81
80
  # App Engine target. The job will be pushed to a job handler by means
@@ -149,9 +148,7 @@ module Google
149
148
  # the given Pub/Sub topic.
150
149
  # @!attribute [rw] topic_name
151
150
  # @return [String]
152
- # Required.
153
- #
154
- # The name of the Cloud Pub/Sub topic to which messages will
151
+ # Required. The name of the Cloud Pub/Sub topic to which messages will
155
152
  # be published when a job is delivered. The topic name must be in the
156
153
  # same format as required by PubSub's
157
154
  # [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest),
@@ -274,8 +271,8 @@ module Google
274
271
 
275
272
  # Contains information needed for generating an
276
273
  # [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
277
- # This type of authorization should be used when sending requests to a GCP
278
- # endpoint.
274
+ # This type of authorization should generally only be used when calling Google
275
+ # APIs hosted on *.googleapis.com.
279
276
  # @!attribute [rw] service_account_email
280
277
  # @return [String]
281
278
  # [Service account email](https://cloud.google.com/iam/docs/service-accounts)
@@ -291,9 +288,10 @@ module Google
291
288
 
292
289
  # Contains information needed for generating an
293
290
  # [OpenID Connect
294
- # token](https://developers.google.com/identity/protocols/OpenIDConnect). This
295
- # type of authorization should be used when sending requests to third party
296
- # endpoints.
291
+ # token](https://developers.google.com/identity/protocols/OpenIDConnect).
292
+ # This type of authorization can be used for many scenarios, including
293
+ # calling Cloud Run, or endpoints where you intend to validate the token
294
+ # yourself.
297
295
  # @!attribute [rw] service_account_email
298
296
  # @return [String]
299
297
  # [Service account email](https://cloud.google.com/iam/docs/service-accounts)
@@ -4,12 +4,12 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'google/api/annotations_pb'
8
7
  require 'google/api/resource_pb'
9
8
  require 'google/cloud/scheduler/v1beta1/target_pb'
10
9
  require 'google/protobuf/duration_pb'
11
10
  require 'google/protobuf/timestamp_pb'
12
11
  require 'google/rpc/status_pb'
12
+ require 'google/api/annotations_pb'
13
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  add_message "google.cloud.scheduler.v1beta1.Job" do
15
15
  optional :name, :string, 1
@@ -4,8 +4,8 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
+ require 'google/api/resource_pb'
7
8
  require 'google/api/annotations_pb'
8
- require 'google/protobuf/any_pb'
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_message "google.cloud.scheduler.v1beta1.HttpTarget" do
11
11
  optional :uri, :string, 1
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Scheduler
19
- VERSION = "1.1.2".freeze
19
+ VERSION = "1.2.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.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: 2019-10-18 00:00:00.000000000 Z
11
+ date: 2019-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
19
+ version: '1.8'
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: '1.7'
26
+ version: '1.8'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: googleapis-common-protos
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,6 +44,26 @@ dependencies:
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '2.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: googleapis-common-protos-types
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 1.0.4
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: '2.0'
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 1.0.4
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: '2.0'
47
67
  - !ruby/object:Gem::Dependency
48
68
  name: minitest
49
69
  requirement: !ruby/object:Gem::Requirement
@@ -73,19 +93,19 @@ dependencies:
73
93
  - !ruby/object:Gem::Version
74
94
  version: '3.0'
75
95
  - !ruby/object:Gem::Dependency
76
- name: rubocop
96
+ name: google-style
77
97
  requirement: !ruby/object:Gem::Requirement
78
98
  requirements:
79
99
  - - "~>"
80
100
  - !ruby/object:Gem::Version
81
- version: 0.50.0
101
+ version: 1.24.0
82
102
  type: :development
83
103
  prerelease: false
84
104
  version_requirements: !ruby/object:Gem::Requirement
85
105
  requirements:
86
106
  - - "~>"
87
107
  - !ruby/object:Gem::Version
88
- version: 0.50.0
108
+ version: 1.24.0
89
109
  - !ruby/object:Gem::Dependency
90
110
  name: simplecov
91
111
  requirement: !ruby/object:Gem::Requirement
@@ -174,7 +194,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
174
194
  requirements:
175
195
  - - ">="
176
196
  - !ruby/object:Gem::Version
177
- version: 2.0.0
197
+ version: '2.4'
178
198
  required_rubygems_version: !ruby/object:Gem::Requirement
179
199
  requirements:
180
200
  - - ">="