google-apis-cloudfunctions_v2alpha 0.33.0 → 0.35.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: 3db644b327d542861e8bed7e177f02865b010d92ac5452136e6973d65958fec3
4
- data.tar.gz: 51eccc0a96682ed937a5787b4be64aba645ff8294aea2ed9f15939b665979ec9
3
+ metadata.gz: d5cbf1386934b713f853801c0424391fff2cf1351d8d2a0e95f64dd413c8af77
4
+ data.tar.gz: a73f38d66d97a9661196da2c8e3edde2f9b14f4173fb2c686d1d9b68f55f6399
5
5
  SHA512:
6
- metadata.gz: 263c4dd265494524b1f05fa21c8a138ae92ac04c1e41ced31fd67b6c4f0f5904feb1775bd259143506274a1a11e12979fa3021cdddb732167f3121a493f576fd
7
- data.tar.gz: 967819ef73d1b3901ba7a7e46d6c05f1f0c8596dcf6ecad672bc0d79372291c0116bc024a945992c0bc45c08f84153703152c4083dad4f91ae727477deb2de51
6
+ metadata.gz: 650f796a804fa56a929a06c034bb1c8842ed91a88da75fb058c97828267da99140038cade0594abbbbca035f25100d96a374f3a3b07b4d3749d19098fd97117d
7
+ data.tar.gz: bea2714af4a30ae15438e314e216ae54666372c7c4eb35737d0d4c8115c7e2d9273b62fd4e5a7662991546566fb2ad5da6e5f5fdcfbe622e0c4b06037f96ceed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.35.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230907
6
+
7
+ ### v0.34.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230803
10
+
3
11
  ### v0.33.0 (2023-07-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230713
@@ -272,6 +272,47 @@ module Google
272
272
  end
273
273
  end
274
274
 
275
+ # Represents a whole or partial calendar date, such as a birthday. The time of
276
+ # day and time zone are either specified elsewhere or are insignificant. The
277
+ # date is relative to the Gregorian Calendar. This can represent one of the
278
+ # following: * A full date, with non-zero year, month, and day values. * A month
279
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
280
+ # with a zero month and a zero day. * A year and month, with a zero day (for
281
+ # example, a credit card expiration date). Related types: * google.type.
282
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
283
+ class Date
284
+ include Google::Apis::Core::Hashable
285
+
286
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
287
+ # specify a year by itself or a year and month where the day isn't significant.
288
+ # Corresponds to the JSON property `day`
289
+ # @return [Fixnum]
290
+ attr_accessor :day
291
+
292
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
293
+ # and day.
294
+ # Corresponds to the JSON property `month`
295
+ # @return [Fixnum]
296
+ attr_accessor :month
297
+
298
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
299
+ # year.
300
+ # Corresponds to the JSON property `year`
301
+ # @return [Fixnum]
302
+ attr_accessor :year
303
+
304
+ def initialize(**args)
305
+ update!(**args)
306
+ end
307
+
308
+ # Update properties of this object
309
+ def update!(**args)
310
+ @day = args[:day] if args.key?(:day)
311
+ @month = args[:month] if args.key?(:month)
312
+ @year = args[:year] if args.key?(:year)
313
+ end
314
+ end
315
+
275
316
  # Filters events based on exact matches on the CloudEvents attributes.
276
317
  class EventFilter
277
318
  include Google::Apis::Core::Hashable
@@ -1340,13 +1381,13 @@ module Google
1340
1381
  # @return [String]
1341
1382
  attr_accessor :name
1342
1383
 
1343
- # The normal response of the operation in case of success. If the original
1344
- # method returns no data on success, such as `Delete`, the response is `google.
1345
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1346
- # the response should be the resource. For other methods, the response should
1347
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1348
- # example, if the original method name is `TakeSnapshot()`, the inferred
1349
- # response type is `TakeSnapshotResponse`.
1384
+ # The normal, successful response of the operation. If the original method
1385
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1386
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1387
+ # response should be the resource. For other methods, the response should have
1388
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1389
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1390
+ # `TakeSnapshotResponse`.
1350
1391
  # Corresponds to the JSON property `response`
1351
1392
  # @return [Hash<String,Object>]
1352
1393
  attr_accessor :response
@@ -1442,22 +1483,22 @@ module Google
1442
1483
  # evaluates to `true`. A condition can add constraints based on attributes of
1443
1484
  # the request, the resource, or both. To learn which resources support
1444
1485
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1445
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1486
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1446
1487
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1447
1488
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1448
1489
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1449
1490
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1450
1491
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1451
1492
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1452
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1453
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1454
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1455
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1456
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1457
- # access description: Does not grant access after Sep 2020 expression: request.
1458
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1459
- # a description of IAM and its features, see the [IAM documentation](https://
1460
- # cloud.google.com/iam/docs/).
1493
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1494
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1495
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1496
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1497
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1498
+ # title: expirable access description: Does not grant access after Sep 2020
1499
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1500
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1501
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1461
1502
  class Policy
1462
1503
  include Google::Apis::Core::Hashable
1463
1504
 
@@ -1588,6 +1629,30 @@ module Google
1588
1629
  class Runtime
1589
1630
  include Google::Apis::Core::Hashable
1590
1631
 
1632
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1633
+ # day and time zone are either specified elsewhere or are insignificant. The
1634
+ # date is relative to the Gregorian Calendar. This can represent one of the
1635
+ # following: * A full date, with non-zero year, month, and day values. * A month
1636
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1637
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1638
+ # example, a credit card expiration date). Related types: * google.type.
1639
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1640
+ # Corresponds to the JSON property `decommissionDate`
1641
+ # @return [Google::Apis::CloudfunctionsV2alpha::Date]
1642
+ attr_accessor :decommission_date
1643
+
1644
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1645
+ # day and time zone are either specified elsewhere or are insignificant. The
1646
+ # date is relative to the Gregorian Calendar. This can represent one of the
1647
+ # following: * A full date, with non-zero year, month, and day values. * A month
1648
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1649
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1650
+ # example, a credit card expiration date). Related types: * google.type.
1651
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1652
+ # Corresponds to the JSON property `deprecationDate`
1653
+ # @return [Google::Apis::CloudfunctionsV2alpha::Date]
1654
+ attr_accessor :deprecation_date
1655
+
1591
1656
  # The user facing name, eg 'Go 1.13', 'Node.js 12', etc.
1592
1657
  # Corresponds to the JSON property `displayName`
1593
1658
  # @return [String]
@@ -1619,6 +1684,8 @@ module Google
1619
1684
 
1620
1685
  # Update properties of this object
1621
1686
  def update!(**args)
1687
+ @decommission_date = args[:decommission_date] if args.key?(:decommission_date)
1688
+ @deprecation_date = args[:deprecation_date] if args.key?(:deprecation_date)
1622
1689
  @display_name = args[:display_name] if args.key?(:display_name)
1623
1690
  @environment = args[:environment] if args.key?(:environment)
1624
1691
  @name = args[:name] if args.key?(:name)
@@ -1915,22 +1982,22 @@ module Google
1915
1982
  # evaluates to `true`. A condition can add constraints based on attributes of
1916
1983
  # the request, the resource, or both. To learn which resources support
1917
1984
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1918
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1985
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1919
1986
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1920
1987
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1921
1988
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1922
1989
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1923
1990
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1924
1991
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1925
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1926
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1927
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1928
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1929
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1930
- # access description: Does not grant access after Sep 2020 expression: request.
1931
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1932
- # a description of IAM and its features, see the [IAM documentation](https://
1933
- # cloud.google.com/iam/docs/).
1992
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1993
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1994
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1995
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1996
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1997
+ # title: expirable access description: Does not grant access after Sep 2020
1998
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1999
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
2000
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1934
2001
  # Corresponds to the JSON property `policy`
1935
2002
  # @return [Google::Apis::CloudfunctionsV2alpha::Policy]
1936
2003
  attr_accessor :policy
@@ -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.33.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230713"
25
+ REVISION = "20230907"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class Date
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class EventFilter
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -337,6 +343,15 @@ module Google
337
343
  end
338
344
  end
339
345
 
346
+ class Date
347
+ # @private
348
+ class Representation < Google::Apis::Core::JsonRepresentation
349
+ property :day, as: 'day'
350
+ property :month, as: 'month'
351
+ property :year, as: 'year'
352
+ end
353
+ end
354
+
340
355
  class EventFilter
341
356
  # @private
342
357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +676,10 @@ module Google
661
676
  class Runtime
662
677
  # @private
663
678
  class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :decommission_date, as: 'decommissionDate', class: Google::Apis::CloudfunctionsV2alpha::Date, decorator: Google::Apis::CloudfunctionsV2alpha::Date::Representation
680
+
681
+ property :deprecation_date, as: 'deprecationDate', class: Google::Apis::CloudfunctionsV2alpha::Date, decorator: Google::Apis::CloudfunctionsV2alpha::Date::Representation
682
+
664
683
  property :display_name, as: 'displayName'
665
684
  property :environment, as: 'environment'
666
685
  property :name, as: 'name'
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.33.0
4
+ version: 0.35.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: 2023-07-23 00:00:00.000000000 Z
11
+ date: 2023-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.35.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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Functions API V2alpha