google-apis-run_v1alpha1 0.14.0 → 0.18.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: fd9b87a644d0ab0714a1c75ba13713c3fcc7ce8f2e9f21908f52a7246907115f
4
- data.tar.gz: c375fc3ad69c691d9a55a0f3fd6205d34ee91a8cb6d77f13a6180471656c78ec
3
+ metadata.gz: 9759f38793fdf190ed06c999ee2658f7f32913236e921217ef085ef663ea63cc
4
+ data.tar.gz: dab18e494df52c26e46b1616b7a2a7a90407bb0678518c171723c8efd39ad2e4
5
5
  SHA512:
6
- metadata.gz: 5095d8076d51c92b0f549f1ab22c3d2fe83915bd4a20a056cfc9d51fcdfd7e9199793dae329c8050348ee4ba26068206b46ae3c849609d09a29a44ad14216f76
7
- data.tar.gz: 37fff9988ed9abf424a34607542ff473cc8753fd688d1ff85e0dcac0a621ccee4d9de3031dcdb6c3018ada78e5ac11db3fbcd9e4bea528ee88c7103447e4eb48
6
+ metadata.gz: 74ef59670e5492f3599d3af6c0d93b27966d27dacfc3628c1c7eac40de8d8b0cd778ea2409a7ee623b3f4502b0b42048c4992843cbaee071d86676b200be8097
7
+ data.tar.gz: 1defec851f066bfa948a208d434b37fe684805dcd77b83700b473ceec5102700695ab595227bd85b277541b7b0dae01dc63fa41494710d241df8f33207c6966a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-run_v1alpha1
2
2
 
3
+ ### v0.18.0 (2021-11-17)
4
+
5
+ * Regenerated from discovery document revision 20211112
6
+
7
+ ### v0.17.0 (2021-10-20)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.16.0 (2021-10-07)
12
+
13
+ * Regenerated from discovery document revision 20211001
14
+
15
+ ### v0.15.0 (2021-09-17)
16
+
17
+ * Regenerated from discovery document revision 20210910
18
+
3
19
  ### v0.14.0 (2021-09-01)
4
20
 
5
21
  * Regenerated from discovery document revision 20210813
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Run service in particular.)
67
67
 
@@ -103,10 +103,17 @@ module Google
103
103
  class ConfigMapVolumeSource
104
104
  include Google::Apis::Core::Hashable
105
105
 
106
- # (Optional) Mode bits to use on created files by default. Must be a value
107
- # between 0 and 0777. Defaults to 0644. Directories within the path are not
108
- # affected by this setting. This might be in conflict with other options that
109
- # affect the file mode, like fsGroup, and the result can be other mode bits set.
106
+ # (Optional) Integer representation of mode bits to use on created files by
107
+ # default. Must be a value between 01 and 0777 (octal). If 0 or not set, it will
108
+ # default to 0644. Directories within the path are not affected by this setting.
109
+ # Notes * Internally, a umask of 0222 will be applied to any non-zero value. *
110
+ # This is an integer representation of the mode bits. So, the octal integer
111
+ # value should look exactly as the chmod numeric notation with a leading zero.
112
+ # Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10).
113
+ # For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (
114
+ # u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in
115
+ # conflict with other options that affect the file mode, like fsGroup, and the
116
+ # result can be other mode bits set.
110
117
  # Corresponds to the JSON property `defaultMode`
111
118
  # @return [Fixnum]
112
119
  attr_accessor :default_mode
@@ -478,6 +485,45 @@ module Google
478
485
  end
479
486
  end
480
487
 
488
+ # The `Status` type defines a logical error model that is suitable for different
489
+ # programming environments, including REST APIs and RPC APIs. It is used by [
490
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
491
+ # data: error code, error message, and error details. You can find out more
492
+ # about this error model and how to work with it in the [API Design Guide](https:
493
+ # //cloud.google.com/apis/design/errors).
494
+ class GoogleRpcStatus
495
+ include Google::Apis::Core::Hashable
496
+
497
+ # The status code, which should be an enum value of google.rpc.Code.
498
+ # Corresponds to the JSON property `code`
499
+ # @return [Fixnum]
500
+ attr_accessor :code
501
+
502
+ # A list of messages that carry the error details. There is a common set of
503
+ # message types for APIs to use.
504
+ # Corresponds to the JSON property `details`
505
+ # @return [Array<Hash<String,Object>>]
506
+ attr_accessor :details
507
+
508
+ # A developer-facing error message, which should be in English. Any user-facing
509
+ # error message should be localized and sent in the google.rpc.Status.details
510
+ # field, or localized by the client.
511
+ # Corresponds to the JSON property `message`
512
+ # @return [String]
513
+ attr_accessor :message
514
+
515
+ def initialize(**args)
516
+ update!(**args)
517
+ end
518
+
519
+ # Update properties of this object
520
+ def update!(**args)
521
+ @code = args[:code] if args.key?(:code)
522
+ @details = args[:details] if args.key?(:details)
523
+ @message = args[:message] if args.key?(:message)
524
+ end
525
+ end
526
+
481
527
  # Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
482
528
  # requests.
483
529
  class HttpGetAction
@@ -543,6 +589,38 @@ module Google
543
589
  end
544
590
  end
545
591
 
592
+ # Result of an instance attempt.
593
+ class InstanceAttemptResult
594
+ include Google::Apis::Core::Hashable
595
+
596
+ # Optional. The exit code of this attempt. This may be unset if the container
597
+ # was unable to exit cleanly with a code due to some other failure. See status
598
+ # field for possible failure details.
599
+ # Corresponds to the JSON property `exitCode`
600
+ # @return [Fixnum]
601
+ attr_accessor :exit_code
602
+
603
+ # The `Status` type defines a logical error model that is suitable for different
604
+ # programming environments, including REST APIs and RPC APIs. It is used by [
605
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
606
+ # data: error code, error message, and error details. You can find out more
607
+ # about this error model and how to work with it in the [API Design Guide](https:
608
+ # //cloud.google.com/apis/design/errors).
609
+ # Corresponds to the JSON property `status`
610
+ # @return [Google::Apis::RunV1alpha1::GoogleRpcStatus]
611
+ attr_accessor :status
612
+
613
+ def initialize(**args)
614
+ update!(**args)
615
+ end
616
+
617
+ # Update properties of this object
618
+ def update!(**args)
619
+ @exit_code = args[:exit_code] if args.key?(:exit_code)
620
+ @status = args[:status] if args.key?(:status)
621
+ end
622
+ end
623
+
546
624
  # InstanceSpec is a description of an instance.
547
625
  class InstanceSpec
548
626
  include Google::Apis::Core::Hashable
@@ -631,6 +709,11 @@ module Google
631
709
  # @return [Fixnum]
632
710
  attr_accessor :index
633
711
 
712
+ # Result of an instance attempt.
713
+ # Corresponds to the JSON property `lastAttemptResult`
714
+ # @return [Google::Apis::RunV1alpha1::InstanceAttemptResult]
715
+ attr_accessor :last_attempt_result
716
+
634
717
  # Optional. Last exit code seen for this instance. +optional
635
718
  # Corresponds to the JSON property `lastExitCode`
636
719
  # @return [Fixnum]
@@ -664,6 +747,7 @@ module Google
664
747
  @completion_time = args[:completion_time] if args.key?(:completion_time)
665
748
  @failed = args[:failed] if args.key?(:failed)
666
749
  @index = args[:index] if args.key?(:index)
750
+ @last_attempt_result = args[:last_attempt_result] if args.key?(:last_attempt_result)
667
751
  @last_exit_code = args[:last_exit_code] if args.key?(:last_exit_code)
668
752
  @restarted = args[:restarted] if args.key?(:restarted)
669
753
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -953,10 +1037,16 @@ module Google
953
1037
  # @return [String]
954
1038
  attr_accessor :key
955
1039
 
956
- # (Optional) Mode bits to use on this file, must be a value between 0000 and
957
- # 0777. If not specified, the volume defaultMode will be used. This might be in
958
- # conflict with other options that affect the file mode, like fsGroup, and the
959
- # result can be other mode bits set.
1040
+ # (Optional) Mode bits to use on this file, must be a value between 01 and 0777 (
1041
+ # octal). If 0 or not set, the Volume's default mode will be used. Notes *
1042
+ # Internally, a umask of 0222 will be applied to any non-zero value. * This is
1043
+ # an integer representation of the mode bits. So, the octal integer value should
1044
+ # look exactly as the chmod numeric notation with a leading zero. Some examples:
1045
+ # for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=
1046
+ # rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx),
1047
+ # set to 0755 (octal) or 493 (base-10). * This might be in conflict with other
1048
+ # options that affect the file mode, like fsGroup, and the result can be other
1049
+ # mode bits set.
960
1050
  # Corresponds to the JSON property `mode`
961
1051
  # @return [Fixnum]
962
1052
  attr_accessor :mode
@@ -1425,12 +1515,12 @@ module Google
1425
1515
  attr_accessor :limits
1426
1516
 
1427
1517
  # (Optional) Only memory and CPU are supported. Note: The only supported values
1428
- # for CPU are '1' and '2'. Requests describes the minimum amount of compute
1429
- # resources required. If Requests is omitted for a container, it defaults to
1430
- # Limits if that is explicitly specified, otherwise to an implementation-defined
1431
- # value. The values of the map is string form of the 'quantity' k8s type: https:/
1432
- # /github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
1433
- # pkg/api/resource/quantity.go
1518
+ # for CPU are '1', '2', and '4'. Requests describes the minimum amount of
1519
+ # compute resources required. If Requests is omitted for a container, it
1520
+ # defaults to Limits if that is explicitly specified, otherwise to an
1521
+ # implementation-defined value. The values of the map is string form of the '
1522
+ # quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/
1523
+ # staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
1434
1524
  # Corresponds to the JSON property `requests`
1435
1525
  # @return [Hash<String,String>]
1436
1526
  attr_accessor :requests
@@ -1534,13 +1624,17 @@ module Google
1534
1624
  class SecretVolumeSource
1535
1625
  include Google::Apis::Core::Hashable
1536
1626
 
1537
- # (Optional) Mode bits to use on created files by default. Must be a value
1538
- # between 0000 and 0777. Defaults to 0644. Directories within the path are not
1539
- # affected by this setting. This might be in conflict with other options that
1540
- # affect the file mode, like fsGroup, and the result can be other mode bits set.
1541
- # NOTE: This is an integer representation of the mode bits. So, the integer
1542
- # value should look exactly as the chmod numeric notation, i.e. Unix chmod "777"
1543
- # (a=rwx) should have the integer value 777.
1627
+ # Integer representation of mode bits to use on created files by default. Must
1628
+ # be a value between 01 and 0777 (octal). If 0 or not set, it will default to
1629
+ # 0644. Directories within the path are not affected by this setting. Notes *
1630
+ # Internally, a umask of 0222 will be applied to any non-zero value. * This is
1631
+ # an integer representation of the mode bits. So, the octal integer value should
1632
+ # look exactly as the chmod numeric notation with a leading zero. Some examples:
1633
+ # for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=
1634
+ # rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx),
1635
+ # set to 0755 (octal) or 493 (base-10). * This might be in conflict with other
1636
+ # options that affect the file mode, like fsGroup, and the result can be other
1637
+ # mode bits set.
1544
1638
  # Corresponds to the JSON property `defaultMode`
1545
1639
  # @return [Fixnum]
1546
1640
  attr_accessor :default_mode
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1alpha1
18
18
  # Version of the google-apis-run_v1alpha1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210813"
25
+ REVISION = "20211112"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleRpcStatus
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class HttpGetAction
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -94,6 +100,12 @@ module Google
94
100
  include Google::Apis::Core::JsonObjectSupport
95
101
  end
96
102
 
103
+ class InstanceAttemptResult
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
97
109
  class InstanceSpec
98
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
111
 
@@ -343,6 +355,15 @@ module Google
343
355
  end
344
356
  end
345
357
 
358
+ class GoogleRpcStatus
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ property :code, as: 'code'
362
+ collection :details, as: 'details'
363
+ property :message, as: 'message'
364
+ end
365
+ end
366
+
346
367
  class HttpGetAction
347
368
  # @private
348
369
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -362,6 +383,15 @@ module Google
362
383
  end
363
384
  end
364
385
 
386
+ class InstanceAttemptResult
387
+ # @private
388
+ class Representation < Google::Apis::Core::JsonRepresentation
389
+ property :exit_code, as: 'exitCode'
390
+ property :status, as: 'status', class: Google::Apis::RunV1alpha1::GoogleRpcStatus, decorator: Google::Apis::RunV1alpha1::GoogleRpcStatus::Representation
391
+
392
+ end
393
+ end
394
+
365
395
  class InstanceSpec
366
396
  # @private
367
397
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -382,6 +412,8 @@ module Google
382
412
  property :completion_time, as: 'completionTime'
383
413
  property :failed, as: 'failed'
384
414
  property :index, as: 'index'
415
+ property :last_attempt_result, as: 'lastAttemptResult', class: Google::Apis::RunV1alpha1::InstanceAttemptResult, decorator: Google::Apis::RunV1alpha1::InstanceAttemptResult::Representation
416
+
385
417
  property :last_exit_code, as: 'lastExitCode'
386
418
  property :restarted, as: 'restarted'
387
419
  property :start_time, as: 'startTime'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.18.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: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.14.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1alpha1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1alpha1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.18.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: