google-apis-cloudfunctions_v2 0.28.0 → 0.30.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: 4925064c4599446a96dd11315f06039ad74003775e02cfa66ee07b77824e82be
4
- data.tar.gz: fe52924b471b77a6e4971a05836dbe32c43c181fc51a0dadacc6f4d12048351e
3
+ metadata.gz: 1ae058f30984ba5501b1fe4c72e97d3552419f1b2c1e8d64b13894fadc92123d
4
+ data.tar.gz: 3e5d4676729f4ae6f84b54bb361a74177d224d2c5e3a8caaf4800e48b80f6582
5
5
  SHA512:
6
- metadata.gz: 255c24a01a6bb64ecd6ce672c15983e0061cb75d093c09dc80a8d3659718de5afa6fb89226522d46649ab77cdc678c2ebb08b3c6ce2d66ea44d067cf48fe2ed2
7
- data.tar.gz: 78ab6e0a26bc1d967824ad3577a0760b8f262872275eba6a31e3a41f6242fba0e02d87f01b3b4e6990c1dd5340c155df4543e696d031712ec22b6c9ebefde725
6
+ metadata.gz: 43253ff326f578b601db2232ab0319d2563b149576686216ab332060bd24b3828bc10251c1951f9b55261db961c06492536456f76b5bc4321e60a98cfeb2ea2c
7
+ data.tar.gz: efd6471fa9c52fd7810aa5353a81b27bd8ab6f5e4c75543f70cb227f16650bf48ed90dffb9c3f8d081f4f1db9cd32f7aa06d78b5a1abd38d204243c01cdb590e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudfunctions_v2
2
2
 
3
+ ### v0.30.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230907
6
+
7
+ ### v0.29.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230803
10
+
3
11
  ### v0.28.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::CloudfunctionsV2::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::CloudfunctionsV2::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::CloudfunctionsV2::Policy]
1936
2003
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudfunctionsV2
18
18
  # Version of the google-apis-cloudfunctions_v2 gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.30.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::CloudfunctionsV2::Date, decorator: Google::Apis::CloudfunctionsV2::Date::Representation
680
+
681
+ property :deprecation_date, as: 'deprecationDate', class: Google::Apis::CloudfunctionsV2::Date, decorator: Google::Apis::CloudfunctionsV2::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_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.30.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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2
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 V2