google-apis-cloudfunctions_v2alpha 0.9.0 → 0.12.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: 353a8d6e9ccbcc839cc1cf7cbc460da9cd0902145f463c015ec2720d86bf7fa8
4
- data.tar.gz: 56734f128f1c65bdf984e15aab8aee3d2a11b1689347b8a92c9a0637ae8f76b2
3
+ metadata.gz: c4679c6febe8194fe76dcec0f15be43072dcded9ca8d0621b55074571b947c2e
4
+ data.tar.gz: 5826a972aa2e0441b9f0c5e98eea90fd0876509a615fa19bba4d4f9b306ebff6
5
5
  SHA512:
6
- metadata.gz: 0faa2a8c26505b2baf3303d1ef2c57f0b93887b02a53615ddc8e80dcb24ec98e6df17e9fcfab91db89b34bdb32b0fef1bdf0585d4d9d69fa92c1bbf465fe97b1
7
- data.tar.gz: 5e32a5b22fa853d1743223f0f6ade828ed57db3ef145ffb1858b3452a38fee28d7abf3d14cb11d3d5b3c35f2f68b1e4a73c50f9a8e8c87130e17e6b01997279f
6
+ metadata.gz: 284be526e99e8c52c8fc545c06bbd602525ca2264b8970980bde75d80edbc969bd5c2747938cc19501761544aca46fa2e23e528d12dee6d9516fc270acf0134a
7
+ data.tar.gz: 34c8e59b4b0d8cea6892bd11046ed6fecd3db778bcc0abb3e47ec7405764dc06ecf646bf77bd64c04c27bcb395256baf473c844c62ae2106572c4f8fc68002bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.12.0 (2022-08-12)
4
+
5
+ * Regenerated from discovery document revision 20220805
6
+
7
+ ### v0.11.0 (2022-07-16)
8
+
9
+ * Regenerated from discovery document revision 20220707
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.10.0 (2022-07-02)
13
+
14
+ * Regenerated from discovery document revision 20220622
15
+ * Regenerated using generator version 0.8.0
16
+
3
17
  ### v0.9.0 (2022-06-17)
4
18
 
5
19
  * Regenerated using generator version 0.6.0
@@ -123,25 +123,28 @@ module Google
123
123
  # anyone who is authenticated with a Google account or a service account. * `
124
124
  # user:`emailid``: An email address that represents a specific Google account.
125
125
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
126
- # address that represents a service account. For example, `my-other-app@appspot.
127
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
128
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
129
- # `uniqueid``: An email address (plus unique identifier) representing a user
130
- # that has been recently deleted. For example, `alice@example.com?uid=
131
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
132
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
133
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
134
- # identifier) representing a service account that has been recently deleted. For
135
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
136
- # If the service account is undeleted, this value reverts to `serviceAccount:`
137
- # emailid`` and the undeleted service account retains the role in the binding. *
138
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
139
- # identifier) representing a Google group that has been recently deleted. For
140
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
141
- # recovered, this value reverts to `group:`emailid`` and the recovered group
142
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
143
- # primary) that represents all the users of that domain. For example, `google.
144
- # com` or `example.com`.
126
+ # address that represents a Google service account. For example, `my-other-app@
127
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
128
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
129
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
130
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
131
+ # . * `group:`emailid``: An email address that represents a Google group. For
132
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
133
+ # email address (plus unique identifier) representing a user that has been
134
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
135
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
136
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
137
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
138
+ # representing a service account that has been recently deleted. For example, `
139
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
140
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
141
+ # and the undeleted service account retains the role in the binding. * `deleted:
142
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
143
+ # representing a Google group that has been recently deleted. For example, `
144
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
145
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
146
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
147
+ # all the users of that domain. For example, `google.com` or `example.com`.
145
148
  # Corresponds to the JSON property `members`
146
149
  # @return [Array<String>]
147
150
  attr_accessor :members
@@ -414,7 +417,7 @@ module Google
414
417
  end
415
418
 
416
419
  # Describes a Cloud Function that contains user computation executed in response
417
- # to an event. It encapsulate function and triggers configurations.
420
+ # to an event. It encapsulates function and trigger configurations.
418
421
  class Function
419
422
  include Google::Apis::Core::Hashable
420
423
 
@@ -563,6 +566,156 @@ module Google
563
566
  end
564
567
  end
565
568
 
569
+ # Represents the metadata of the long-running operation.
570
+ class GoogleCloudFunctionsV2OperationMetadata
571
+ include Google::Apis::Core::Hashable
572
+
573
+ # API version used to start the operation.
574
+ # Corresponds to the JSON property `apiVersion`
575
+ # @return [String]
576
+ attr_accessor :api_version
577
+
578
+ # Identifies whether the user has requested cancellation of the operation.
579
+ # Operations that have successfully been cancelled have Operation.error value
580
+ # with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
581
+ # Corresponds to the JSON property `cancelRequested`
582
+ # @return [Boolean]
583
+ attr_accessor :cancel_requested
584
+ alias_method :cancel_requested?, :cancel_requested
585
+
586
+ # The time the operation was created.
587
+ # Corresponds to the JSON property `createTime`
588
+ # @return [String]
589
+ attr_accessor :create_time
590
+
591
+ # The time the operation finished running.
592
+ # Corresponds to the JSON property `endTime`
593
+ # @return [String]
594
+ attr_accessor :end_time
595
+
596
+ # The original request that started the operation.
597
+ # Corresponds to the JSON property `requestResource`
598
+ # @return [Hash<String,Object>]
599
+ attr_accessor :request_resource
600
+
601
+ # Mechanism for reporting in-progress stages
602
+ # Corresponds to the JSON property `stages`
603
+ # @return [Array<Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2Stage>]
604
+ attr_accessor :stages
605
+
606
+ # Human-readable status of the operation, if any.
607
+ # Corresponds to the JSON property `statusDetail`
608
+ # @return [String]
609
+ attr_accessor :status_detail
610
+
611
+ # Server-defined resource path for the target of the operation.
612
+ # Corresponds to the JSON property `target`
613
+ # @return [String]
614
+ attr_accessor :target
615
+
616
+ # Name of the verb executed by the operation.
617
+ # Corresponds to the JSON property `verb`
618
+ # @return [String]
619
+ attr_accessor :verb
620
+
621
+ def initialize(**args)
622
+ update!(**args)
623
+ end
624
+
625
+ # Update properties of this object
626
+ def update!(**args)
627
+ @api_version = args[:api_version] if args.key?(:api_version)
628
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
629
+ @create_time = args[:create_time] if args.key?(:create_time)
630
+ @end_time = args[:end_time] if args.key?(:end_time)
631
+ @request_resource = args[:request_resource] if args.key?(:request_resource)
632
+ @stages = args[:stages] if args.key?(:stages)
633
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
634
+ @target = args[:target] if args.key?(:target)
635
+ @verb = args[:verb] if args.key?(:verb)
636
+ end
637
+ end
638
+
639
+ # Each Stage of the deployment process
640
+ class GoogleCloudFunctionsV2Stage
641
+ include Google::Apis::Core::Hashable
642
+
643
+ # Message describing the Stage
644
+ # Corresponds to the JSON property `message`
645
+ # @return [String]
646
+ attr_accessor :message
647
+
648
+ # Name of the Stage. This will be unique for each Stage.
649
+ # Corresponds to the JSON property `name`
650
+ # @return [String]
651
+ attr_accessor :name
652
+
653
+ # Resource of the Stage
654
+ # Corresponds to the JSON property `resource`
655
+ # @return [String]
656
+ attr_accessor :resource
657
+
658
+ # Link to the current Stage resource
659
+ # Corresponds to the JSON property `resourceUri`
660
+ # @return [String]
661
+ attr_accessor :resource_uri
662
+
663
+ # Current state of the Stage
664
+ # Corresponds to the JSON property `state`
665
+ # @return [String]
666
+ attr_accessor :state
667
+
668
+ # State messages from the current Stage.
669
+ # Corresponds to the JSON property `stateMessages`
670
+ # @return [Array<Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2StateMessage>]
671
+ attr_accessor :state_messages
672
+
673
+ def initialize(**args)
674
+ update!(**args)
675
+ end
676
+
677
+ # Update properties of this object
678
+ def update!(**args)
679
+ @message = args[:message] if args.key?(:message)
680
+ @name = args[:name] if args.key?(:name)
681
+ @resource = args[:resource] if args.key?(:resource)
682
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
683
+ @state = args[:state] if args.key?(:state)
684
+ @state_messages = args[:state_messages] if args.key?(:state_messages)
685
+ end
686
+ end
687
+
688
+ # Informational messages about the state of the Cloud Function or Operation.
689
+ class GoogleCloudFunctionsV2StateMessage
690
+ include Google::Apis::Core::Hashable
691
+
692
+ # The message.
693
+ # Corresponds to the JSON property `message`
694
+ # @return [String]
695
+ attr_accessor :message
696
+
697
+ # Severity of the state message.
698
+ # Corresponds to the JSON property `severity`
699
+ # @return [String]
700
+ attr_accessor :severity
701
+
702
+ # One-word CamelCase type of the state message.
703
+ # Corresponds to the JSON property `type`
704
+ # @return [String]
705
+ attr_accessor :type
706
+
707
+ def initialize(**args)
708
+ update!(**args)
709
+ end
710
+
711
+ # Update properties of this object
712
+ def update!(**args)
713
+ @message = args[:message] if args.key?(:message)
714
+ @severity = args[:severity] if args.key?(:severity)
715
+ @type = args[:type] if args.key?(:type)
716
+ end
717
+ end
718
+
566
719
  # Represents the metadata of the long-running operation.
567
720
  class GoogleCloudFunctionsV2alphaOperationMetadata
568
721
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudfunctionsV2alpha
18
18
  # Version of the google-apis-cloudfunctions_v2alpha gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.6.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220511"
25
+ REVISION = "20220805"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,24 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class GoogleCloudFunctionsV2OperationMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudFunctionsV2Stage
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudFunctionsV2StateMessage
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
97
115
  class GoogleCloudFunctionsV2alphaOperationMetadata
98
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
117
 
@@ -381,6 +399,44 @@ module Google
381
399
  end
382
400
  end
383
401
 
402
+ class GoogleCloudFunctionsV2OperationMetadata
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :api_version, as: 'apiVersion'
406
+ property :cancel_requested, as: 'cancelRequested'
407
+ property :create_time, as: 'createTime'
408
+ property :end_time, as: 'endTime'
409
+ hash :request_resource, as: 'requestResource'
410
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2Stage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2Stage::Representation
411
+
412
+ property :status_detail, as: 'statusDetail'
413
+ property :target, as: 'target'
414
+ property :verb, as: 'verb'
415
+ end
416
+ end
417
+
418
+ class GoogleCloudFunctionsV2Stage
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ property :message, as: 'message'
422
+ property :name, as: 'name'
423
+ property :resource, as: 'resource'
424
+ property :resource_uri, as: 'resourceUri'
425
+ property :state, as: 'state'
426
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2StateMessage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2StateMessage::Representation
427
+
428
+ end
429
+ end
430
+
431
+ class GoogleCloudFunctionsV2StateMessage
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :message, as: 'message'
435
+ property :severity, as: 'severity'
436
+ property :type, as: 'type'
437
+ end
438
+ end
439
+
384
440
  class GoogleCloudFunctionsV2alphaOperationMetadata
385
441
  # @private
386
442
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudfunctions_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.12.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-06-20 00:00:00.000000000 Z
11
+ date: 2022-08-15 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.6'
19
+ version: '0.7'
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.6'
29
+ version: '0.7'
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-cloudfunctions_v2alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2alpha
63
63
  post_install_message:
64
64
  rdoc_options: []