google-apis-cloudfunctions_v2alpha 0.8.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d4440594a1477fb7ee096d36d8036e206f95b5aac838156f1c8a88e62061031
4
- data.tar.gz: e31dd10f59578f759ffc4fc85c0d8a599b77b01f8c1b1290852670dd09da169d
3
+ metadata.gz: fb150d2490951498f991bd3102d44b2c73860a6c13dfb319e025884bf9b73e93
4
+ data.tar.gz: 957a627a33cfff915c3a01765caf038d420b003a231c0e5f7e3ad69c7ad7dc77
5
5
  SHA512:
6
- metadata.gz: 9e3899f720b6d01985719b4043c0c08dd446a6a9bf23130a4e0c377e72408260fe6ea0fbfa951c238ba84ce58a590533f7e548ec75bd6a268305e0ea1880debd
7
- data.tar.gz: 330fe9307c25912a4d55ed674870abe49050beac4daae409b6848b6564c1e1578f19ed4bbf16f6dd2321a0249774f2b30277c143f8d2e58629a5337753a6a26c
6
+ metadata.gz: 1635678fd2c5797aab9383262dca195f1ceddc430cd0e6f7c9548d1a399c3f88d821cb834b58cb606647b43743fcc53f112949f829ba8ae46ec271d800bf756c
7
+ data.tar.gz: b1f96f0332f696885f73b3352efd0486d593ccbf5c25f2017472701ac5be30efa3ad13a896c35c7463ee96059e9314acf6fad78789b9994c70de22cc644ba03d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.11.0 (2022-07-16)
4
+
5
+ * Regenerated from discovery document revision 20220707
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.10.0 (2022-07-02)
9
+
10
+ * Regenerated from discovery document revision 20220622
11
+ * Regenerated using generator version 0.8.0
12
+
13
+ ### v0.9.0 (2022-06-17)
14
+
15
+ * Regenerated using generator version 0.6.0
16
+
3
17
  ### v0.8.0 (2022-05-20)
4
18
 
5
19
  * Regenerated from discovery document revision 20220511
@@ -414,7 +414,7 @@ module Google
414
414
  end
415
415
 
416
416
  # Describes a Cloud Function that contains user computation executed in response
417
- # to an event. It encapsulate function and triggers configurations.
417
+ # to an event. It encapsulates function and trigger configurations.
418
418
  class Function
419
419
  include Google::Apis::Core::Hashable
420
420
 
@@ -563,6 +563,156 @@ module Google
563
563
  end
564
564
  end
565
565
 
566
+ # Represents the metadata of the long-running operation.
567
+ class GoogleCloudFunctionsV2OperationMetadata
568
+ include Google::Apis::Core::Hashable
569
+
570
+ # API version used to start the operation.
571
+ # Corresponds to the JSON property `apiVersion`
572
+ # @return [String]
573
+ attr_accessor :api_version
574
+
575
+ # Identifies whether the user has requested cancellation of the operation.
576
+ # Operations that have successfully been cancelled have Operation.error value
577
+ # with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
578
+ # Corresponds to the JSON property `cancelRequested`
579
+ # @return [Boolean]
580
+ attr_accessor :cancel_requested
581
+ alias_method :cancel_requested?, :cancel_requested
582
+
583
+ # The time the operation was created.
584
+ # Corresponds to the JSON property `createTime`
585
+ # @return [String]
586
+ attr_accessor :create_time
587
+
588
+ # The time the operation finished running.
589
+ # Corresponds to the JSON property `endTime`
590
+ # @return [String]
591
+ attr_accessor :end_time
592
+
593
+ # The original request that started the operation.
594
+ # Corresponds to the JSON property `requestResource`
595
+ # @return [Hash<String,Object>]
596
+ attr_accessor :request_resource
597
+
598
+ # Mechanism for reporting in-progress stages
599
+ # Corresponds to the JSON property `stages`
600
+ # @return [Array<Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2Stage>]
601
+ attr_accessor :stages
602
+
603
+ # Human-readable status of the operation, if any.
604
+ # Corresponds to the JSON property `statusDetail`
605
+ # @return [String]
606
+ attr_accessor :status_detail
607
+
608
+ # Server-defined resource path for the target of the operation.
609
+ # Corresponds to the JSON property `target`
610
+ # @return [String]
611
+ attr_accessor :target
612
+
613
+ # Name of the verb executed by the operation.
614
+ # Corresponds to the JSON property `verb`
615
+ # @return [String]
616
+ attr_accessor :verb
617
+
618
+ def initialize(**args)
619
+ update!(**args)
620
+ end
621
+
622
+ # Update properties of this object
623
+ def update!(**args)
624
+ @api_version = args[:api_version] if args.key?(:api_version)
625
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
626
+ @create_time = args[:create_time] if args.key?(:create_time)
627
+ @end_time = args[:end_time] if args.key?(:end_time)
628
+ @request_resource = args[:request_resource] if args.key?(:request_resource)
629
+ @stages = args[:stages] if args.key?(:stages)
630
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
631
+ @target = args[:target] if args.key?(:target)
632
+ @verb = args[:verb] if args.key?(:verb)
633
+ end
634
+ end
635
+
636
+ # Each Stage of the deployment process
637
+ class GoogleCloudFunctionsV2Stage
638
+ include Google::Apis::Core::Hashable
639
+
640
+ # Message describing the Stage
641
+ # Corresponds to the JSON property `message`
642
+ # @return [String]
643
+ attr_accessor :message
644
+
645
+ # Name of the Stage. This will be unique for each Stage.
646
+ # Corresponds to the JSON property `name`
647
+ # @return [String]
648
+ attr_accessor :name
649
+
650
+ # Resource of the Stage
651
+ # Corresponds to the JSON property `resource`
652
+ # @return [String]
653
+ attr_accessor :resource
654
+
655
+ # Link to the current Stage resource
656
+ # Corresponds to the JSON property `resourceUri`
657
+ # @return [String]
658
+ attr_accessor :resource_uri
659
+
660
+ # Current state of the Stage
661
+ # Corresponds to the JSON property `state`
662
+ # @return [String]
663
+ attr_accessor :state
664
+
665
+ # State messages from the current Stage.
666
+ # Corresponds to the JSON property `stateMessages`
667
+ # @return [Array<Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2StateMessage>]
668
+ attr_accessor :state_messages
669
+
670
+ def initialize(**args)
671
+ update!(**args)
672
+ end
673
+
674
+ # Update properties of this object
675
+ def update!(**args)
676
+ @message = args[:message] if args.key?(:message)
677
+ @name = args[:name] if args.key?(:name)
678
+ @resource = args[:resource] if args.key?(:resource)
679
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
680
+ @state = args[:state] if args.key?(:state)
681
+ @state_messages = args[:state_messages] if args.key?(:state_messages)
682
+ end
683
+ end
684
+
685
+ # Informational messages about the state of the Cloud Function or Operation.
686
+ class GoogleCloudFunctionsV2StateMessage
687
+ include Google::Apis::Core::Hashable
688
+
689
+ # The message.
690
+ # Corresponds to the JSON property `message`
691
+ # @return [String]
692
+ attr_accessor :message
693
+
694
+ # Severity of the state message.
695
+ # Corresponds to the JSON property `severity`
696
+ # @return [String]
697
+ attr_accessor :severity
698
+
699
+ # One-word CamelCase type of the state message.
700
+ # Corresponds to the JSON property `type`
701
+ # @return [String]
702
+ attr_accessor :type
703
+
704
+ def initialize(**args)
705
+ update!(**args)
706
+ end
707
+
708
+ # Update properties of this object
709
+ def update!(**args)
710
+ @message = args[:message] if args.key?(:message)
711
+ @severity = args[:severity] if args.key?(:severity)
712
+ @type = args[:type] if args.key?(:type)
713
+ end
714
+ end
715
+
566
716
  # Represents the metadata of the long-running operation.
567
717
  class GoogleCloudFunctionsV2alphaOperationMetadata
568
718
  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.8.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
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 = "20220707"
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.8.0
4
+ version: 0.11.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-05-23 00:00:00.000000000 Z
11
+ date: 2022-07-18 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.4'
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.4'
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.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.11.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Functions API V2alpha