google-apis-cloudfunctions_v2beta 0.31.0 → 0.33.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: 48ba0e1d7c9db65083a6dc1132a9f44b93be02bba8ffc95f427aee86e0ceaf72
4
- data.tar.gz: 7b1acbf3aea2d77c93cfd36e1946163aafcceb6b9c9fbb3b040e0dfe97ac7821
3
+ metadata.gz: d236eeeb77cadaac0ac14e32a22af5bb2aaed51190d29cdb0c98ed72d11c94e5
4
+ data.tar.gz: e192529a9f67114fae59ea2bd5e6d22e868bdb802e72ddcae8ff3e57d1a8c002
5
5
  SHA512:
6
- metadata.gz: b0cf20fcb3319118dbff2be8a0cc8ad7d22e47f6da6dc4adc2f7a2a1921428aab4a31448884e6fd62468d1d455a76542399605a95f678fc74681a4fcbcc8daaf
7
- data.tar.gz: 9f0573829bbec43224689a00e95408c9e428a6fee19a9a49e880d2ef2347e336152ec5e789c5abc6c0ffc245ed87a720925979b3e9d95d9c878b034a36d3a8f3
6
+ metadata.gz: e69a6478bd3c3b8496fa53c46dc1bd479330c46b6412b07bc7d4399b9b427bcc33109770d5380318310a823c3858fd238f07619450b00b65d7f5c6fca6cc52d1
7
+ data.tar.gz: 2d0877e04b47a08352fc8ec52ceb346dfdbcf601a04aec4f2f41f32119abdb4a6b355f8cdfd6bd54da4798d3d3a8f259039ddd8089b8c060ef2ef2eeb026b005
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudfunctions_v2beta
2
2
 
3
+ ### v0.33.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230907
6
+
7
+ ### v0.32.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230803
10
+
3
11
  ### v0.31.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::CloudfunctionsV2beta::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::CloudfunctionsV2beta::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::CloudfunctionsV2beta::Policy]
1936
2003
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudfunctionsV2beta
18
18
  # Version of the google-apis-cloudfunctions_v2beta gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.33.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::CloudfunctionsV2beta::Date, decorator: Google::Apis::CloudfunctionsV2beta::Date::Representation
680
+
681
+ property :deprecation_date, as: 'deprecationDate', class: Google::Apis::CloudfunctionsV2beta::Date, decorator: Google::Apis::CloudfunctionsV2beta::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_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.33.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_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2beta/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2beta/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2beta
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 V2beta