google-apis-run_v2 0.22.0 → 0.23.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: 5699a95b4949fdfe129e737bd5c1c17c42b74d18d21232f56ebddb6cf5292a34
4
- data.tar.gz: 34358ea336b144bb50dd7bd1b17110ebc531f7f4b167be8d00c79a2c0a621ec6
3
+ metadata.gz: af87b9d3eb9ae426e93d0a50c57b1004d22d38dc1aa90409160f3bbf4d6cbcb3
4
+ data.tar.gz: d19105da49394e37eb7e7e06b0cca2858dfe4f8ed50689b23a023f05c2ed20a6
5
5
  SHA512:
6
- metadata.gz: 303c06ccb4745a9b85bc08410ac636d708bde11e66a97c6d8cf4daca0009c6aa7138d2fafc6a1f43488560bf2cdcb484bfe5bc42bc90ac82c753b21cef1c2ff3
7
- data.tar.gz: d5b108e48147fc2126eab9728c2667da135a2c77e93822728238aa483120a20195344101aba31d5ecfeff52657894357314a8e8423d535046ce19409a74f0132
6
+ metadata.gz: 0337a9b34878143e312596ad79a168b61f0ea664870fc6189cbcd77c9e221757ca3741004b575511ce8fee8cf62dc4ea53895afbe35526cfbd0aa1ea94027479
7
+ data.tar.gz: fd64e493bd8acd3c1744e73bec2d67ce41a433825a4da497748cb9d08e1b44f07bf3b935047659c9df2976fbeb38f0bdc9b10c62e41fdf9cef4c4426b54779b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.23.0 (2022-10-28)
4
+
5
+ * Regenerated from discovery document revision 20221023
6
+ * Regenerated using generator version 0.11.0
7
+
3
8
  ### v0.22.0 (2022-09-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20220918
@@ -597,43 +597,10 @@ module Google
597
597
  end
598
598
  end
599
599
 
600
- # GRPCAction describes an action involving a GRPC port.
601
- class GoogleCloudRunV2GrpcAction
602
- include Google::Apis::Core::Hashable
603
-
604
- # Port number of the gRPC service. Number must be in the range 1 to 65535.
605
- # Corresponds to the JSON property `port`
606
- # @return [Fixnum]
607
- attr_accessor :port
608
-
609
- # Service is the name of the service to place in the gRPC HealthCheckRequest (
610
- # see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this
611
- # is not specified, the default behavior is defined by gRPC.
612
- # Corresponds to the JSON property `service`
613
- # @return [String]
614
- attr_accessor :service
615
-
616
- def initialize(**args)
617
- update!(**args)
618
- end
619
-
620
- # Update properties of this object
621
- def update!(**args)
622
- @port = args[:port] if args.key?(:port)
623
- @service = args[:service] if args.key?(:service)
624
- end
625
- end
626
-
627
600
  # HTTPGetAction describes an action based on HTTP Get requests.
628
601
  class GoogleCloudRunV2HttpGetAction
629
602
  include Google::Apis::Core::Hashable
630
603
 
631
- # Host name to connect to, defaults to the pod IP. You probably want to set "
632
- # Host" in httpHeaders instead.
633
- # Corresponds to the JSON property `host`
634
- # @return [String]
635
- attr_accessor :host
636
-
637
604
  # Custom headers to set in the request. HTTP allows repeated headers.
638
605
  # Corresponds to the JSON property `httpHeaders`
639
606
  # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2HttpHeader>]
@@ -644,21 +611,14 @@ module Google
644
611
  # @return [String]
645
612
  attr_accessor :path
646
613
 
647
- # Scheme to use for connecting to the host. Defaults to HTTP.
648
- # Corresponds to the JSON property `scheme`
649
- # @return [String]
650
- attr_accessor :scheme
651
-
652
614
  def initialize(**args)
653
615
  update!(**args)
654
616
  end
655
617
 
656
618
  # Update properties of this object
657
619
  def update!(**args)
658
- @host = args[:host] if args.key?(:host)
659
620
  @http_headers = args[:http_headers] if args.key?(:http_headers)
660
621
  @path = args[:path] if args.key?(:path)
661
- @scheme = args[:scheme] if args.key?(:scheme)
662
622
  end
663
623
  end
664
624
 
@@ -671,7 +631,7 @@ module Google
671
631
  # @return [String]
672
632
  attr_accessor :name
673
633
 
674
- # Required. The header field value
634
+ # The header field value
675
635
  # Corresponds to the JSON property `value`
676
636
  # @return [String]
677
637
  attr_accessor :value
@@ -1021,11 +981,6 @@ module Google
1021
981
  # @return [Fixnum]
1022
982
  attr_accessor :failure_threshold
1023
983
 
1024
- # GRPCAction describes an action involving a GRPC port.
1025
- # Corresponds to the JSON property `grpc`
1026
- # @return [Google::Apis::RunV2::GoogleCloudRunV2GrpcAction]
1027
- attr_accessor :grpc
1028
-
1029
984
  # HTTPGetAction describes an action based on HTTP Get requests.
1030
985
  # Corresponds to the JSON property `httpGet`
1031
986
  # @return [Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction]
@@ -1067,7 +1022,6 @@ module Google
1067
1022
  # Update properties of this object
1068
1023
  def update!(**args)
1069
1024
  @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
1070
- @grpc = args[:grpc] if args.key?(:grpc)
1071
1025
  @http_get = args[:http_get] if args.key?(:http_get)
1072
1026
  @initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
1073
1027
  @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
@@ -1774,15 +1728,8 @@ module Google
1774
1728
  class GoogleCloudRunV2TcpSocketAction
1775
1729
  include Google::Apis::Core::Hashable
1776
1730
 
1777
- # Host name to connect to, defaults to the pod IP.
1778
- # Corresponds to the JSON property `host`
1779
- # @return [String]
1780
- attr_accessor :host
1781
-
1782
- # Number or name of the port to access on the container. Number must be in the
1783
- # range 1 to 65535. Name must be an IANA_SVC_NAME. This field is currently
1784
- # limited to integer types only because of proto's inability to properly support
1785
- # the IntOrString golang type.
1731
+ # Port number to access on the container. Must be in the range 1 to 65535. If
1732
+ # not specified, defaults to 8080.
1786
1733
  # Corresponds to the JSON property `port`
1787
1734
  # @return [Fixnum]
1788
1735
  attr_accessor :port
@@ -1793,7 +1740,6 @@ module Google
1793
1740
 
1794
1741
  # Update properties of this object
1795
1742
  def update!(**args)
1796
- @host = args[:host] if args.key?(:host)
1797
1743
  @port = args[:port] if args.key?(:port)
1798
1744
  end
1799
1745
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV2
18
18
  # Version of the google-apis-run_v2 gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220918"
25
+ REVISION = "20221023"
26
26
  end
27
27
  end
28
28
  end
@@ -82,12 +82,6 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class GoogleCloudRunV2GrpcAction
86
- class Representation < Google::Apis::Core::JsonRepresentation; end
87
-
88
- include Google::Apis::Core::JsonObjectSupport
89
- end
90
-
91
85
  class GoogleCloudRunV2HttpGetAction
92
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
87
 
@@ -452,22 +446,12 @@ module Google
452
446
  end
453
447
  end
454
448
 
455
- class GoogleCloudRunV2GrpcAction
456
- # @private
457
- class Representation < Google::Apis::Core::JsonRepresentation
458
- property :port, as: 'port'
459
- property :service, as: 'service'
460
- end
461
- end
462
-
463
449
  class GoogleCloudRunV2HttpGetAction
464
450
  # @private
465
451
  class Representation < Google::Apis::Core::JsonRepresentation
466
- property :host, as: 'host'
467
452
  collection :http_headers, as: 'httpHeaders', class: Google::Apis::RunV2::GoogleCloudRunV2HttpHeader, decorator: Google::Apis::RunV2::GoogleCloudRunV2HttpHeader::Representation
468
453
 
469
454
  property :path, as: 'path'
470
- property :scheme, as: 'scheme'
471
455
  end
472
456
  end
473
457
 
@@ -562,8 +546,6 @@ module Google
562
546
  # @private
563
547
  class Representation < Google::Apis::Core::JsonRepresentation
564
548
  property :failure_threshold, as: 'failureThreshold'
565
- property :grpc, as: 'grpc', class: Google::Apis::RunV2::GoogleCloudRunV2GrpcAction, decorator: Google::Apis::RunV2::GoogleCloudRunV2GrpcAction::Representation
566
-
567
549
  property :http_get, as: 'httpGet', class: Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction, decorator: Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction::Representation
568
550
 
569
551
  property :initial_delay_seconds, as: 'initialDelaySeconds'
@@ -717,7 +699,6 @@ module Google
717
699
  class GoogleCloudRunV2TcpSocketAction
718
700
  # @private
719
701
  class Representation < Google::Apis::Core::JsonRepresentation
720
- property :host, as: 'host'
721
702
  property :port, as: 'port'
722
703
  end
723
704
  end
@@ -55,7 +55,7 @@ module Google
55
55
  # Create a Job.
56
56
  # @param [String] parent
57
57
  # Required. The location and project in which this Job should be created. Format:
58
- # projects/`projectnumber`/locations/`location`
58
+ # projects/`project`/locations/`location`
59
59
  # @param [Google::Apis::RunV2::GoogleCloudRunV2Job] google_cloud_run_v2_job_object
60
60
  # @param [String] job_id
61
61
  # Required. The unique identifier for the Job. The name of the job becomes `
@@ -96,16 +96,11 @@ module Google
96
96
 
97
97
  # Deletes a Job.
98
98
  # @param [String] name
99
- # Required. The full name of the Job. Format: projects/`projectnumber`/locations/
100
- # `location`/jobs/`job`
99
+ # Required. The full name of the Job. Format: projects/`project`/locations/`
100
+ # location`/jobs/`job`
101
101
  # @param [String] etag
102
102
  # A system-generated fingerprint for this version of the resource. May be used
103
103
  # to detect modification conflict during updates.
104
- # @param [Boolean] force
105
- # If set to true, the Job and its Executions will be deleted no matter whether
106
- # any Executions are still running or not. If set to false or unset, the Job and
107
- # its Executions can only be deleted if there are no running Executions. Any
108
- # running Execution will fail the deletion.
109
104
  # @param [Boolean] validate_only
110
105
  # Indicates that the request should be validated without actually deleting any
111
106
  # resources.
@@ -126,13 +121,12 @@ module Google
126
121
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
127
122
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
128
123
  # @raise [Google::Apis::AuthorizationError] Authorization is required
129
- def delete_project_location_job(name, etag: nil, force: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
124
+ def delete_project_location_job(name, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
130
125
  command = make_simple_command(:delete, 'v2/{+name}', options)
131
126
  command.response_representation = Google::Apis::RunV2::GoogleLongrunningOperation::Representation
132
127
  command.response_class = Google::Apis::RunV2::GoogleLongrunningOperation
133
128
  command.params['name'] = name unless name.nil?
134
129
  command.query['etag'] = etag unless etag.nil?
135
- command.query['force'] = force unless force.nil?
136
130
  command.query['validateOnly'] = validate_only unless validate_only.nil?
137
131
  command.query['fields'] = fields unless fields.nil?
138
132
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -141,8 +135,8 @@ module Google
141
135
 
142
136
  # Gets information about a Job.
143
137
  # @param [String] name
144
- # Required. The full name of the Job. Format: projects/`projectnumber`/locations/
145
- # `location`/jobs/`job`
138
+ # Required. The full name of the Job. Format: projects/`project`/locations/`
139
+ # location`/jobs/`job`
146
140
  # @param [String] fields
147
141
  # Selector specifying which fields to include in a partial response.
148
142
  # @param [String] quota_user
@@ -218,7 +212,7 @@ module Google
218
212
  # List Jobs.
219
213
  # @param [String] parent
220
214
  # Required. The location and project to list resources on. Format: projects/`
221
- # projectnumber`/locations/`location`
215
+ # project`/locations/`location`
222
216
  # @param [Fixnum] page_size
223
217
  # Maximum number of Jobs to return in this call.
224
218
  # @param [String] page_token
@@ -301,8 +295,8 @@ module Google
301
295
 
302
296
  # Triggers creation of a new Execution of this Job.
303
297
  # @param [String] name
304
- # Required. The full name of the Job. Format: projects/`projectnumber`/locations/
305
- # `location`/jobs/`job`
298
+ # Required. The full name of the Job. Format: projects/`project`/locations/`
299
+ # location`/jobs/`job`
306
300
  # @param [Google::Apis::RunV2::GoogleCloudRunV2RunJobRequest] google_cloud_run_v2_run_job_request_object
307
301
  # @param [String] fields
308
302
  # Selector specifying which fields to include in a partial response.
@@ -710,13 +704,13 @@ module Google
710
704
  # Creates a new Service in a given project and location.
711
705
  # @param [String] parent
712
706
  # Required. The location and project in which this service should be created.
713
- # Format: projects/`projectnumber`/locations/`location` Only lowercase, digits,
714
- # and hyphens; must begin with letter, and may not end with hyphen; must contain
715
- # fewer than 50 characters.
707
+ # Format: projects/`project`/locations/`location` Only lowercase characters,
708
+ # digits, and hyphens.
716
709
  # @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object
717
710
  # @param [String] service_id
718
- # Required. The unique identifier for the Service. The name of the service
719
- # becomes `parent`/services/`service_id`.
711
+ # Required. The unique identifier for the Service. It must begin with letter,
712
+ # and may not end with hyphen; must contain fewer than 50 characters. The name
713
+ # of the service becomes `parent`/services/`service_id`.
720
714
  # @param [Boolean] validate_only
721
715
  # Indicates that the request should be validated and default values populated,
722
716
  # without persisting the request or creating any resources.
@@ -754,8 +748,8 @@ module Google
754
748
  # Deletes a Service. This will cause the Service to stop serving traffic and
755
749
  # will delete all revisions.
756
750
  # @param [String] name
757
- # Required. The full name of the Service. Format: projects/`projectnumber`/
758
- # locations/`location`/services/`service`
751
+ # Required. The full name of the Service. Format: projects/`project`/locations/`
752
+ # location`/services/`service`
759
753
  # @param [String] etag
760
754
  # A system-generated fingerprint for this version of the resource. May be used
761
755
  # to detect modification conflict during updates.
@@ -793,8 +787,8 @@ module Google
793
787
 
794
788
  # Gets information about a Service.
795
789
  # @param [String] name
796
- # Required. The full name of the Service. Format: projects/`projectnumber`/
797
- # locations/`location`/services/`service`
790
+ # Required. The full name of the Service. Format: projects/`project`/locations/`
791
+ # location`/services/`service`
798
792
  # @param [String] fields
799
793
  # Selector specifying which fields to include in a partial response.
800
794
  # @param [String] quota_user
@@ -870,8 +864,8 @@ module Google
870
864
  # List Services.
871
865
  # @param [String] parent
872
866
  # Required. The location and project to list resources on. Location must be a
873
- # valid GCP region, and may not be the "-" wildcard. Format: projects/`
874
- # projectnumber`/locations/`location`
867
+ # valid GCP region, and may not be the "-" wildcard. Format: projects/`project`/
868
+ # locations/`location`
875
869
  # @param [Fixnum] page_size
876
870
  # Maximum number of Services to return in this call.
877
871
  # @param [String] page_token
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.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: 2022-10-03 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
63
63
  post_install_message:
64
64
  rdoc_options: []