google-apis-cloudfunctions_v2beta 0.54.0 → 0.55.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/cloudfunctions_v2beta/classes.rb +52 -0
- data/lib/google/apis/cloudfunctions_v2beta/gem_version.rb +2 -2
- data/lib/google/apis/cloudfunctions_v2beta/representations.rb +18 -0
- data/lib/google/apis/cloudfunctions_v2beta/service.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 719c792a5629f5a10c05c0eacbafe7d25a9dea57197b798fdf3b9ff5538e2332
|
|
4
|
+
data.tar.gz: 5d1941ef949bda719abae9ec5f9534a6ed25bdab2c15529c63a90af924942641
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 469553d0131edd2dcdf7f7d05e74648088b46ebd413596356707660f7f4ec8f43e4660753443c2af1837aafc5bf04f9c809b15de32a0b92260c717b9e294aba8
|
|
7
|
+
data.tar.gz: fe747cd2091d08cc24073f9a5cd88650d25b43913fce33e7e092ccecd9c8f82741e73c3d23a9ef275c97f14f3da1ff5626678e3c66a1b2d4c23ae41216849ffe
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -1705,6 +1743,18 @@ module Google
|
|
|
1705
1743
|
# @return [String]
|
|
1706
1744
|
attr_accessor :binary_authorization_policy
|
|
1707
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::CloudfunctionsV2beta::DirectVpcNetworkInterface>]
|
|
1756
|
+
attr_accessor :direct_vpc_network_interface
|
|
1757
|
+
|
|
1708
1758
|
# Environment variables that shall be available during function execution.
|
|
1709
1759
|
# Corresponds to the JSON property `environmentVariables`
|
|
1710
1760
|
# @return [Hash<String,String>]
|
|
@@ -1812,6 +1862,8 @@ module Google
|
|
|
1812
1862
|
@available_cpu = args[:available_cpu] if args.key?(:available_cpu)
|
|
1813
1863
|
@available_memory = args[:available_memory] if args.key?(:available_memory)
|
|
1814
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)
|
|
1815
1867
|
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
|
1816
1868
|
@ingress_settings = args[:ingress_settings] if args.key?(:ingress_settings)
|
|
1817
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 CloudfunctionsV2beta
|
|
18
18
|
# Version of the google-apis-cloudfunctions_v2beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.55.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 = "
|
|
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
|
|
@@ -696,6 +711,9 @@ module Google
|
|
|
696
711
|
property :available_cpu, as: 'availableCpu'
|
|
697
712
|
property :available_memory, as: 'availableMemory'
|
|
698
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::CloudfunctionsV2beta::DirectVpcNetworkInterface, decorator: Google::Apis::CloudfunctionsV2beta::DirectVpcNetworkInterface::Representation
|
|
716
|
+
|
|
699
717
|
hash :environment_variables, as: 'environmentVariables'
|
|
700
718
|
property :ingress_settings, as: 'ingressSettings'
|
|
701
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.
|
|
59
|
-
#
|
|
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
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-cloudfunctions_v2beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.55.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_v2beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2beta/v0.55.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|