google-apis-cloudfunctions_v2alpha 0.55.0 → 0.57.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: 185c8466d6d62cabee2518db6c0995f0ba2ca521766b66ed95e6bb8334328f22
4
- data.tar.gz: bac24e2bf34d1d7f1c9b1f67b4ad9a6ef0fc85ac91ccf4eaa25bcc0245594ea4
3
+ metadata.gz: a1562910f596b221ca6f23769e34448eb7cf6dce2f6419d699bb34413b3cbc21
4
+ data.tar.gz: 4df1df4af447f73fb2e0ae39aca1614830f7fbbca969bd064ee9de36fd63e6af
5
5
  SHA512:
6
- metadata.gz: a9c07893ade1e43ff8380d64b7a60b17a71c9e211ba39f4b5e90b6af4b03581527485c77733a95505f8f7c8fb0519c5c6bfaf0f6852dcc7c574495704377cbce
7
- data.tar.gz: 7ce4d59b2f9185888882b618f5061ca8ac7f1de68f17ec123cae21829b584392e47fe59b05eae3a25c251a495a303ceef667dd377518280c84e21ddfcf2042aa
6
+ metadata.gz: c1a0869a3ba5fe775955a60e7b9d1956d77dd0d6142cb2241af1bd6bc19800796932359b84764f848dd573021d4621711bfe825667f4f81493e2bee598d44e47
7
+ data.tar.gz: 1fdd6be5130874bdf1e790a048f70a23808222b04adf533778fbf56a1fd0c26b21044469d057a4a0a79b9fd18d5d1341ae468220c77ac933843b2c24cafcdede
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.57.0 (2025-11-02)
4
+
5
+ * Regenerated from discovery document revision 20251023
6
+
7
+ ### v0.56.0 (2025-10-05)
8
+
9
+ * Regenerated from discovery document revision 20250929
10
+
3
11
  ### v0.55.0 (2025-09-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20250908
@@ -411,6 +411,44 @@ module Google
411
411
  end
412
412
  end
413
413
 
414
+ # The Direct VPC network interface. This is mutually exclusive with VPC
415
+ # Connector.
416
+ class DirectVpcNetworkInterface
417
+ include Google::Apis::Core::Hashable
418
+
419
+ # Optional. The name of the VPC network to which the function will be connected.
420
+ # Specify either a VPC network or a subnet, or both. If you specify only a
421
+ # network, the subnet uses the same name as the network.
422
+ # Corresponds to the JSON property `network`
423
+ # @return [String]
424
+ attr_accessor :network
425
+
426
+ # Optional. The name of the VPC subnetwork that the Cloud Function resource will
427
+ # get IPs from. Specify either a VPC network or a subnet, or both. If both
428
+ # network and subnetwork are specified, the given VPC subnetwork must belong to
429
+ # the given VPC network. If subnetwork is not specified, the subnetwork with the
430
+ # same name with the network will be used.
431
+ # Corresponds to the JSON property `subnetwork`
432
+ # @return [String]
433
+ attr_accessor :subnetwork
434
+
435
+ # Optional. Network tags applied to this Cloud Function resource.
436
+ # Corresponds to the JSON property `tags`
437
+ # @return [Array<String>]
438
+ attr_accessor :tags
439
+
440
+ def initialize(**args)
441
+ update!(**args)
442
+ end
443
+
444
+ # Update properties of this object
445
+ def update!(**args)
446
+ @network = args[:network] if args.key?(:network)
447
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
448
+ @tags = args[:tags] if args.key?(:tags)
449
+ end
450
+ end
451
+
414
452
  # Filters events based on exact matches on the CloudEvents attributes.
415
453
  class EventFilter
416
454
  include Google::Apis::Core::Hashable
@@ -1069,6 +1107,13 @@ module Google
1069
1107
  # @return [Array<Google::Apis::CloudfunctionsV2alpha::Operation>]
1070
1108
  attr_accessor :operations
1071
1109
 
1110
+ # Unordered list. Unreachable resources. Populated when the request sets `
1111
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1112
+ # when attempting to list all resources across all supported locations.
1113
+ # Corresponds to the JSON property `unreachable`
1114
+ # @return [Array<String>]
1115
+ attr_accessor :unreachable
1116
+
1072
1117
  def initialize(**args)
1073
1118
  update!(**args)
1074
1119
  end
@@ -1077,6 +1122,7 @@ module Google
1077
1122
  def update!(**args)
1078
1123
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1079
1124
  @operations = args[:operations] if args.key?(:operations)
1125
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1080
1126
  end
1081
1127
  end
1082
1128
 
@@ -1697,6 +1743,18 @@ module Google
1697
1743
  # @return [String]
1698
1744
  attr_accessor :binary_authorization_policy
1699
1745
 
1746
+ # Optional. Egress settings for direct VPC. If not provided, it defaults to
1747
+ # VPC_EGRESS_PRIVATE_RANGES_ONLY.
1748
+ # Corresponds to the JSON property `directVpcEgress`
1749
+ # @return [String]
1750
+ attr_accessor :direct_vpc_egress
1751
+
1752
+ # Optional. The Direct VPC network interface for the Cloud Function. Currently
1753
+ # only a single Direct VPC is supported.
1754
+ # Corresponds to the JSON property `directVpcNetworkInterface`
1755
+ # @return [Array<Google::Apis::CloudfunctionsV2alpha::DirectVpcNetworkInterface>]
1756
+ attr_accessor :direct_vpc_network_interface
1757
+
1700
1758
  # Environment variables that shall be available during function execution.
1701
1759
  # Corresponds to the JSON property `environmentVariables`
1702
1760
  # @return [Hash<String,String>]
@@ -1804,6 +1862,8 @@ module Google
1804
1862
  @available_cpu = args[:available_cpu] if args.key?(:available_cpu)
1805
1863
  @available_memory = args[:available_memory] if args.key?(:available_memory)
1806
1864
  @binary_authorization_policy = args[:binary_authorization_policy] if args.key?(:binary_authorization_policy)
1865
+ @direct_vpc_egress = args[:direct_vpc_egress] if args.key?(:direct_vpc_egress)
1866
+ @direct_vpc_network_interface = args[:direct_vpc_network_interface] if args.key?(:direct_vpc_network_interface)
1807
1867
  @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
1808
1868
  @ingress_settings = args[:ingress_settings] if args.key?(:ingress_settings)
1809
1869
  @max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
@@ -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.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250908"
25
+ REVISION = "20251023"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class DirectVpcNetworkInterface
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class EventFilter
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -387,6 +393,15 @@ module Google
387
393
  end
388
394
  end
389
395
 
396
+ class DirectVpcNetworkInterface
397
+ # @private
398
+ class Representation < Google::Apis::Core::JsonRepresentation
399
+ property :network, as: 'network'
400
+ property :subnetwork, as: 'subnetwork'
401
+ collection :tags, as: 'tags'
402
+ end
403
+ end
404
+
390
405
  class EventFilter
391
406
  # @private
392
407
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -553,6 +568,7 @@ module Google
553
568
  property :next_page_token, as: 'nextPageToken'
554
569
  collection :operations, as: 'operations', class: Google::Apis::CloudfunctionsV2alpha::Operation, decorator: Google::Apis::CloudfunctionsV2alpha::Operation::Representation
555
570
 
571
+ collection :unreachable, as: 'unreachable'
556
572
  end
557
573
  end
558
574
 
@@ -695,6 +711,9 @@ module Google
695
711
  property :available_cpu, as: 'availableCpu'
696
712
  property :available_memory, as: 'availableMemory'
697
713
  property :binary_authorization_policy, as: 'binaryAuthorizationPolicy'
714
+ property :direct_vpc_egress, as: 'directVpcEgress'
715
+ collection :direct_vpc_network_interface, as: 'directVpcNetworkInterface', class: Google::Apis::CloudfunctionsV2alpha::DirectVpcNetworkInterface, decorator: Google::Apis::CloudfunctionsV2alpha::DirectVpcNetworkInterface::Representation
716
+
698
717
  hash :environment_variables, as: 'environmentVariables'
699
718
  property :ingress_settings, as: 'ingressSettings'
700
719
  property :max_instance_count, as: 'maxInstanceCount'
@@ -55,8 +55,8 @@ module Google
55
55
  # @param [String] name
56
56
  # The resource that owns the locations collection, if applicable.
57
57
  # @param [Array<String>, String] extra_location_types
58
- # Optional. Unless explicitly documented otherwise, don't use this unsupported
59
- # field which is primarily intended for internal usage.
58
+ # Optional. Do not use this field. It is unsupported and is ignored unless
59
+ # explicitly documented otherwise. This is primarily for internal usage.
60
60
  # @param [String] filter
61
61
  # A filter to narrow down results to a preferred subset. The filtering language
62
62
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -759,6 +759,13 @@ module Google
759
759
  # The standard list page size.
760
760
  # @param [String] page_token
761
761
  # The standard list page token.
762
+ # @param [Boolean] return_partial_success
763
+ # When set to `true`, operations that are reachable are returned as normal, and
764
+ # those that are unreachable are returned in the [ListOperationsResponse.
765
+ # unreachable] field. This can only be `true` when reading across collections e.
766
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
767
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
768
+ # explicitly documented otherwise in service or product specific documentation.
762
769
  # @param [String] fields
763
770
  # Selector specifying which fields to include in a partial response.
764
771
  # @param [String] quota_user
@@ -776,7 +783,7 @@ module Google
776
783
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
777
784
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
778
785
  # @raise [Google::Apis::AuthorizationError] Authorization is required
779
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
786
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
780
787
  command = make_simple_command(:get, 'v2alpha/{+name}/operations', options)
781
788
  command.response_representation = Google::Apis::CloudfunctionsV2alpha::ListOperationsResponse::Representation
782
789
  command.response_class = Google::Apis::CloudfunctionsV2alpha::ListOperationsResponse
@@ -784,6 +791,7 @@ module Google
784
791
  command.query['filter'] = filter unless filter.nil?
785
792
  command.query['pageSize'] = page_size unless page_size.nil?
786
793
  command.query['pageToken'] = page_token unless page_token.nil?
794
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
787
795
  command.query['fields'] = fields unless fields.nil?
788
796
  command.query['quotaUser'] = quota_user unless quota_user.nil?
789
797
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudfunctions_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.57.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2alpha
62
62
  rdoc_options: []
63
63
  require_paths: