google-apis-beyondcorp_v1 0.27.0 → 0.28.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50adf25f8e66bf2a63fda3fb60f411f341e2056a1fd9643db8ac160b6d4e59ca
|
4
|
+
data.tar.gz: 537491b2d99024e80e1cab3a04a93a699ea611868386f062e50a666170b223b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25a94e5216ee12660e419b6653c2f2efbf9ace85385a01d2df8cf19e8af6fc3479efa6de5c5a547d26537ab2269ed11bf2a74f86d982b994c3efe78ccf762d49
|
7
|
+
data.tar.gz: '01878dd1eea8c07c01193e59b4e2305d14b9bfea193223d524e252b82072ec644bc79dc0ccbc2fb1ce2153ea72b728fe749d8dc6dfc1e2b63927f6ac688abedf'
|
data/CHANGELOG.md
CHANGED
@@ -1674,6 +1674,372 @@ module Google
|
|
1674
1674
|
end
|
1675
1675
|
end
|
1676
1676
|
|
1677
|
+
# A Beyondcorp Application resource information.
|
1678
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1Application
|
1679
|
+
include Google::Apis::Core::Hashable
|
1680
|
+
|
1681
|
+
# Output only. Timestamp when the resource was created.
|
1682
|
+
# Corresponds to the JSON property `createTime`
|
1683
|
+
# @return [String]
|
1684
|
+
attr_accessor :create_time
|
1685
|
+
|
1686
|
+
# Optional. An arbitrary user-provided name for the Application resource. Cannot
|
1687
|
+
# exceed 64 characters.
|
1688
|
+
# Corresponds to the JSON property `displayName`
|
1689
|
+
# @return [String]
|
1690
|
+
attr_accessor :display_name
|
1691
|
+
|
1692
|
+
# Required. Endpoint matchers associated with an application. A combination of
|
1693
|
+
# hostname and ports as endpoint matcher is used to match the application. Match
|
1694
|
+
# conditions for OR logic. An array of match conditions to allow for multiple
|
1695
|
+
# matching criteria. The rule is considered a match if one the conditions are
|
1696
|
+
# met. The conditions can be one of the following combination (Hostname), (
|
1697
|
+
# Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname
|
1698
|
+
# and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc
|
1699
|
+
# Corresponds to the JSON property `endpointMatchers`
|
1700
|
+
# @return [Array<Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher>]
|
1701
|
+
attr_accessor :endpoint_matchers
|
1702
|
+
|
1703
|
+
# Identifier. Name of the resource.
|
1704
|
+
# Corresponds to the JSON property `name`
|
1705
|
+
# @return [String]
|
1706
|
+
attr_accessor :name
|
1707
|
+
|
1708
|
+
# Output only. Timestamp when the resource was last modified.
|
1709
|
+
# Corresponds to the JSON property `updateTime`
|
1710
|
+
# @return [String]
|
1711
|
+
attr_accessor :update_time
|
1712
|
+
|
1713
|
+
def initialize(**args)
|
1714
|
+
update!(**args)
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
# Update properties of this object
|
1718
|
+
def update!(**args)
|
1719
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1720
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1721
|
+
@endpoint_matchers = args[:endpoint_matchers] if args.key?(:endpoint_matchers)
|
1722
|
+
@name = args[:name] if args.key?(:name)
|
1723
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1724
|
+
end
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
# EndpointMatcher contains the information of the endpoint that will match the
|
1728
|
+
# application.
|
1729
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher
|
1730
|
+
include Google::Apis::Core::Hashable
|
1731
|
+
|
1732
|
+
# Required. Hostname of the application.
|
1733
|
+
# Corresponds to the JSON property `hostname`
|
1734
|
+
# @return [String]
|
1735
|
+
attr_accessor :hostname
|
1736
|
+
|
1737
|
+
# Optional. Ports of the application.
|
1738
|
+
# Corresponds to the JSON property `ports`
|
1739
|
+
# @return [Array<Fixnum>]
|
1740
|
+
attr_accessor :ports
|
1741
|
+
|
1742
|
+
def initialize(**args)
|
1743
|
+
update!(**args)
|
1744
|
+
end
|
1745
|
+
|
1746
|
+
# Update properties of this object
|
1747
|
+
def update!(**args)
|
1748
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
1749
|
+
@ports = args[:ports] if args.key?(:ports)
|
1750
|
+
end
|
1751
|
+
end
|
1752
|
+
|
1753
|
+
# The Hub message contains information pertaining to the regional data path
|
1754
|
+
# deployments.
|
1755
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1Hub
|
1756
|
+
include Google::Apis::Core::Hashable
|
1757
|
+
|
1758
|
+
# Represents the NAT Gateway configuration.
|
1759
|
+
# Corresponds to the JSON property `natGatewayConfig`
|
1760
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig]
|
1761
|
+
attr_accessor :nat_gateway_config
|
1762
|
+
|
1763
|
+
def initialize(**args)
|
1764
|
+
update!(**args)
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
# Update properties of this object
|
1768
|
+
def update!(**args)
|
1769
|
+
@nat_gateway_config = args[:nat_gateway_config] if args.key?(:nat_gateway_config)
|
1770
|
+
end
|
1771
|
+
end
|
1772
|
+
|
1773
|
+
# Message for response to listing Applications.
|
1774
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse
|
1775
|
+
include Google::Apis::Core::Hashable
|
1776
|
+
|
1777
|
+
# A list of BeyondCorp Application in the project.
|
1778
|
+
# Corresponds to the JSON property `applications`
|
1779
|
+
# @return [Array<Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application>]
|
1780
|
+
attr_accessor :applications
|
1781
|
+
|
1782
|
+
# A token to retrieve the next page of results, or empty if there are no more
|
1783
|
+
# results in the list.
|
1784
|
+
# Corresponds to the JSON property `nextPageToken`
|
1785
|
+
# @return [String]
|
1786
|
+
attr_accessor :next_page_token
|
1787
|
+
|
1788
|
+
# A list of locations that could not be reached.
|
1789
|
+
# Corresponds to the JSON property `unreachable`
|
1790
|
+
# @return [Array<String>]
|
1791
|
+
attr_accessor :unreachable
|
1792
|
+
|
1793
|
+
def initialize(**args)
|
1794
|
+
update!(**args)
|
1795
|
+
end
|
1796
|
+
|
1797
|
+
# Update properties of this object
|
1798
|
+
def update!(**args)
|
1799
|
+
@applications = args[:applications] if args.key?(:applications)
|
1800
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1801
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1802
|
+
end
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
# Message for response to listing SecurityGateways.
|
1806
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse
|
1807
|
+
include Google::Apis::Core::Hashable
|
1808
|
+
|
1809
|
+
# A token to retrieve the next page of results, or empty if there are no more
|
1810
|
+
# results in the list.
|
1811
|
+
# Corresponds to the JSON property `nextPageToken`
|
1812
|
+
# @return [String]
|
1813
|
+
attr_accessor :next_page_token
|
1814
|
+
|
1815
|
+
# A list of BeyondCorp SecurityGateway in the project.
|
1816
|
+
# Corresponds to the JSON property `securityGateways`
|
1817
|
+
# @return [Array<Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway>]
|
1818
|
+
attr_accessor :security_gateways
|
1819
|
+
|
1820
|
+
# A list of locations that could not be reached.
|
1821
|
+
# Corresponds to the JSON property `unreachable`
|
1822
|
+
# @return [Array<String>]
|
1823
|
+
attr_accessor :unreachable
|
1824
|
+
|
1825
|
+
def initialize(**args)
|
1826
|
+
update!(**args)
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
# Update properties of this object
|
1830
|
+
def update!(**args)
|
1831
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1832
|
+
@security_gateways = args[:security_gateways] if args.key?(:security_gateways)
|
1833
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1834
|
+
end
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
# Represents the NAT Gateway configuration.
|
1838
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
|
1839
|
+
include Google::Apis::Core::Hashable
|
1840
|
+
|
1841
|
+
# Output only. List of NAT IPs that will be used for establishing connection to
|
1842
|
+
# the endpoints.
|
1843
|
+
# Corresponds to the JSON property `natIps`
|
1844
|
+
# @return [Array<String>]
|
1845
|
+
attr_accessor :nat_ips
|
1846
|
+
|
1847
|
+
def initialize(**args)
|
1848
|
+
update!(**args)
|
1849
|
+
end
|
1850
|
+
|
1851
|
+
# Update properties of this object
|
1852
|
+
def update!(**args)
|
1853
|
+
@nat_ips = args[:nat_ips] if args.key?(:nat_ips)
|
1854
|
+
end
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
# VPC Peering details.
|
1858
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
|
1859
|
+
include Google::Apis::Core::Hashable
|
1860
|
+
|
1861
|
+
# Optional. List of DNS zones for DNS peering with the customer VPC network.
|
1862
|
+
# Corresponds to the JSON property `dnsZones`
|
1863
|
+
# @return [Array<String>]
|
1864
|
+
attr_accessor :dns_zones
|
1865
|
+
|
1866
|
+
# Required. The name of the Target VPC network name in the format: `projects/`
|
1867
|
+
# project`/global/networks/`network`
|
1868
|
+
# Corresponds to the JSON property `targetVpcNetwork`
|
1869
|
+
# @return [String]
|
1870
|
+
attr_accessor :target_vpc_network
|
1871
|
+
|
1872
|
+
def initialize(**args)
|
1873
|
+
update!(**args)
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
# Update properties of this object
|
1877
|
+
def update!(**args)
|
1878
|
+
@dns_zones = args[:dns_zones] if args.key?(:dns_zones)
|
1879
|
+
@target_vpc_network = args[:target_vpc_network] if args.key?(:target_vpc_network)
|
1880
|
+
end
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
# Information about a BeyoncCorp SecurityGateway resource.
|
1884
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
|
1885
|
+
include Google::Apis::Core::Hashable
|
1886
|
+
|
1887
|
+
# Output only. Timestamp when the resource was created.
|
1888
|
+
# Corresponds to the JSON property `createTime`
|
1889
|
+
# @return [String]
|
1890
|
+
attr_accessor :create_time
|
1891
|
+
|
1892
|
+
# Optional. An arbitrary user-provided name for the SecurityGateway. Cannot
|
1893
|
+
# exceed 64 characters.
|
1894
|
+
# Corresponds to the JSON property `displayName`
|
1895
|
+
# @return [String]
|
1896
|
+
attr_accessor :display_name
|
1897
|
+
|
1898
|
+
# Output only. IP addresses that will be used for establishing connection to the
|
1899
|
+
# endpoints.
|
1900
|
+
# Corresponds to the JSON property `externalIps`
|
1901
|
+
# @return [Array<String>]
|
1902
|
+
attr_accessor :external_ips
|
1903
|
+
|
1904
|
+
# Optional. Map of Hubs that represents regional data path deployment with GCP
|
1905
|
+
# region as a key.
|
1906
|
+
# Corresponds to the JSON property `hubs`
|
1907
|
+
# @return [Hash<String,Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Hub>]
|
1908
|
+
attr_accessor :hubs
|
1909
|
+
|
1910
|
+
# Identifier. Name of the resource.
|
1911
|
+
# Corresponds to the JSON property `name`
|
1912
|
+
# @return [String]
|
1913
|
+
attr_accessor :name
|
1914
|
+
|
1915
|
+
# Output only. The operational state of the SecurityGateway.
|
1916
|
+
# Corresponds to the JSON property `state`
|
1917
|
+
# @return [String]
|
1918
|
+
attr_accessor :state
|
1919
|
+
|
1920
|
+
# Output only. Timestamp when the resource was last modified.
|
1921
|
+
# Corresponds to the JSON property `updateTime`
|
1922
|
+
# @return [String]
|
1923
|
+
attr_accessor :update_time
|
1924
|
+
|
1925
|
+
def initialize(**args)
|
1926
|
+
update!(**args)
|
1927
|
+
end
|
1928
|
+
|
1929
|
+
# Update properties of this object
|
1930
|
+
def update!(**args)
|
1931
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1932
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1933
|
+
@external_ips = args[:external_ips] if args.key?(:external_ips)
|
1934
|
+
@hubs = args[:hubs] if args.key?(:hubs)
|
1935
|
+
@name = args[:name] if args.key?(:name)
|
1936
|
+
@state = args[:state] if args.key?(:state)
|
1937
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1938
|
+
end
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
# Represents the metadata of the long-running operation.
|
1942
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata
|
1943
|
+
include Google::Apis::Core::Hashable
|
1944
|
+
|
1945
|
+
# Output only. API version used to start the operation.
|
1946
|
+
# Corresponds to the JSON property `apiVersion`
|
1947
|
+
# @return [String]
|
1948
|
+
attr_accessor :api_version
|
1949
|
+
|
1950
|
+
# Output only. The time the operation was created.
|
1951
|
+
# Corresponds to the JSON property `createTime`
|
1952
|
+
# @return [String]
|
1953
|
+
attr_accessor :create_time
|
1954
|
+
|
1955
|
+
# Output only. The time the operation finished running.
|
1956
|
+
# Corresponds to the JSON property `endTime`
|
1957
|
+
# @return [String]
|
1958
|
+
attr_accessor :end_time
|
1959
|
+
|
1960
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1961
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
1962
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1963
|
+
# CANCELLED`.
|
1964
|
+
# Corresponds to the JSON property `requestedCancellation`
|
1965
|
+
# @return [Boolean]
|
1966
|
+
attr_accessor :requested_cancellation
|
1967
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
1968
|
+
|
1969
|
+
# Output only. Human-readable status of the operation, if any.
|
1970
|
+
# Corresponds to the JSON property `statusMessage`
|
1971
|
+
# @return [String]
|
1972
|
+
attr_accessor :status_message
|
1973
|
+
|
1974
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1975
|
+
# Corresponds to the JSON property `target`
|
1976
|
+
# @return [String]
|
1977
|
+
attr_accessor :target
|
1978
|
+
|
1979
|
+
# Output only. Name of the verb executed by the operation.
|
1980
|
+
# Corresponds to the JSON property `verb`
|
1981
|
+
# @return [String]
|
1982
|
+
attr_accessor :verb
|
1983
|
+
|
1984
|
+
def initialize(**args)
|
1985
|
+
update!(**args)
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
# Update properties of this object
|
1989
|
+
def update!(**args)
|
1990
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1991
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1992
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1993
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
1994
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1995
|
+
@target = args[:target] if args.key?(:target)
|
1996
|
+
@verb = args[:verb] if args.key?(:verb)
|
1997
|
+
end
|
1998
|
+
end
|
1999
|
+
|
2000
|
+
# Set Peering request for creating a VPC peering between Google network and
|
2001
|
+
# customer networks.
|
2002
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
|
2003
|
+
include Google::Apis::Core::Hashable
|
2004
|
+
|
2005
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2006
|
+
# request ID so that if you must retry your request, the server will know to
|
2007
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2008
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
2009
|
+
# situation where you make an initial request and the request times out. If you
|
2010
|
+
# make the request again with the same request ID, the server can check if
|
2011
|
+
# original operation with the same request ID was received, and if so, will
|
2012
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2013
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2014
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2015
|
+
# Corresponds to the JSON property `requestId`
|
2016
|
+
# @return [String]
|
2017
|
+
attr_accessor :request_id
|
2018
|
+
|
2019
|
+
# Optional. If set, validates request by executing a dry-run which would not
|
2020
|
+
# alter the resource in any way.
|
2021
|
+
# Corresponds to the JSON property `validateOnly`
|
2022
|
+
# @return [Boolean]
|
2023
|
+
attr_accessor :validate_only
|
2024
|
+
alias_method :validate_only?, :validate_only
|
2025
|
+
|
2026
|
+
# Required. List of Peering connection information.
|
2027
|
+
# Corresponds to the JSON property `vpcPeerings`
|
2028
|
+
# @return [Array<Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering>]
|
2029
|
+
attr_accessor :vpc_peerings
|
2030
|
+
|
2031
|
+
def initialize(**args)
|
2032
|
+
update!(**args)
|
2033
|
+
end
|
2034
|
+
|
2035
|
+
# Update properties of this object
|
2036
|
+
def update!(**args)
|
2037
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
2038
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
2039
|
+
@vpc_peerings = args[:vpc_peerings] if args.key?(:vpc_peerings)
|
2040
|
+
end
|
2041
|
+
end
|
2042
|
+
|
1677
2043
|
# Represents the metadata of the long-running operation.
|
1678
2044
|
class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata
|
1679
2045
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BeyondcorpV1
|
18
18
|
# Version of the google-apis-beyondcorp_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240925"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -262,6 +262,66 @@ module Google
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
263
263
|
end
|
264
264
|
|
265
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1Application
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1Hub
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
265
325
|
class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata
|
266
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
327
|
|
@@ -802,6 +862,106 @@ module Google
|
|
802
862
|
end
|
803
863
|
end
|
804
864
|
|
865
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1Application
|
866
|
+
# @private
|
867
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
868
|
+
property :create_time, as: 'createTime'
|
869
|
+
property :display_name, as: 'displayName'
|
870
|
+
collection :endpoint_matchers, as: 'endpointMatchers', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher::Representation
|
871
|
+
|
872
|
+
property :name, as: 'name'
|
873
|
+
property :update_time, as: 'updateTime'
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
877
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher
|
878
|
+
# @private
|
879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
880
|
+
property :hostname, as: 'hostname'
|
881
|
+
collection :ports, as: 'ports'
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1Hub
|
886
|
+
# @private
|
887
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
888
|
+
property :nat_gateway_config, as: 'natGatewayConfig', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig::Representation
|
889
|
+
|
890
|
+
end
|
891
|
+
end
|
892
|
+
|
893
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse
|
894
|
+
# @private
|
895
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
896
|
+
collection :applications, as: 'applications', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application::Representation
|
897
|
+
|
898
|
+
property :next_page_token, as: 'nextPageToken'
|
899
|
+
collection :unreachable, as: 'unreachable'
|
900
|
+
end
|
901
|
+
end
|
902
|
+
|
903
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse
|
904
|
+
# @private
|
905
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
906
|
+
property :next_page_token, as: 'nextPageToken'
|
907
|
+
collection :security_gateways, as: 'securityGateways', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway::Representation
|
908
|
+
|
909
|
+
collection :unreachable, as: 'unreachable'
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
913
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
|
914
|
+
# @private
|
915
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
916
|
+
collection :nat_ips, as: 'natIps'
|
917
|
+
end
|
918
|
+
end
|
919
|
+
|
920
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
|
921
|
+
# @private
|
922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
923
|
+
collection :dns_zones, as: 'dnsZones'
|
924
|
+
property :target_vpc_network, as: 'targetVpcNetwork'
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
928
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
|
929
|
+
# @private
|
930
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
931
|
+
property :create_time, as: 'createTime'
|
932
|
+
property :display_name, as: 'displayName'
|
933
|
+
collection :external_ips, as: 'externalIps'
|
934
|
+
hash :hubs, as: 'hubs', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Hub, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Hub::Representation
|
935
|
+
|
936
|
+
property :name, as: 'name'
|
937
|
+
property :state, as: 'state'
|
938
|
+
property :update_time, as: 'updateTime'
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
942
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata
|
943
|
+
# @private
|
944
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
945
|
+
property :api_version, as: 'apiVersion'
|
946
|
+
property :create_time, as: 'createTime'
|
947
|
+
property :end_time, as: 'endTime'
|
948
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
949
|
+
property :status_message, as: 'statusMessage'
|
950
|
+
property :target, as: 'target'
|
951
|
+
property :verb, as: 'verb'
|
952
|
+
end
|
953
|
+
end
|
954
|
+
|
955
|
+
class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
|
956
|
+
# @private
|
957
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
958
|
+
property :request_id, as: 'requestId'
|
959
|
+
property :validate_only, as: 'validateOnly'
|
960
|
+
collection :vpc_peerings, as: 'vpcPeerings', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering::Representation
|
961
|
+
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
805
965
|
class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata
|
806
966
|
# @private
|
807
967
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2050,6 +2050,99 @@ module Google
|
|
2050
2050
|
execute_or_queue_command(command, &block)
|
2051
2051
|
end
|
2052
2052
|
|
2053
|
+
# Creates a new Application in a given project and location.
|
2054
|
+
# @param [String] parent
|
2055
|
+
# Required. The resource name of the parent SecurityGateway using the form: `
|
2056
|
+
# projects/`project_id`/locations/global/securityGateways/`security_gateway_id``
|
2057
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application] google_cloud_beyondcorp_securitygateways_v1_application_object
|
2058
|
+
# @param [String] application_id
|
2059
|
+
# Optional. User-settable Application resource ID. * Must start with a letter. *
|
2060
|
+
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
2061
|
+
# or letter.
|
2062
|
+
# @param [String] request_id
|
2063
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2064
|
+
# request ID so that if you must retry your request, the server will know to
|
2065
|
+
# ignore request if it has already been completed. The server will guarantee
|
2066
|
+
# that for at least 60 minutes since the first request.
|
2067
|
+
# @param [String] fields
|
2068
|
+
# Selector specifying which fields to include in a partial response.
|
2069
|
+
# @param [String] quota_user
|
2070
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2071
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2072
|
+
# @param [Google::Apis::RequestOptions] options
|
2073
|
+
# Request-specific options
|
2074
|
+
#
|
2075
|
+
# @yield [result, err] Result & error if block supplied
|
2076
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
2077
|
+
# @yieldparam err [StandardError] error object if request failed
|
2078
|
+
#
|
2079
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
2080
|
+
#
|
2081
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2082
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2083
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2084
|
+
def create_project_location_global_security_gateway_application(parent, google_cloud_beyondcorp_securitygateways_v1_application_object = nil, application_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2085
|
+
command = make_simple_command(:post, 'v1/{+parent}/applications', options)
|
2086
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application::Representation
|
2087
|
+
command.request_object = google_cloud_beyondcorp_securitygateways_v1_application_object
|
2088
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
2089
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
2090
|
+
command.params['parent'] = parent unless parent.nil?
|
2091
|
+
command.query['applicationId'] = application_id unless application_id.nil?
|
2092
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2093
|
+
command.query['fields'] = fields unless fields.nil?
|
2094
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2095
|
+
execute_or_queue_command(command, &block)
|
2096
|
+
end
|
2097
|
+
|
2098
|
+
# Updates the parameters of a single Application.
|
2099
|
+
# @param [String] name
|
2100
|
+
# Identifier. Name of the resource.
|
2101
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application] google_cloud_beyondcorp_securitygateways_v1_application_object
|
2102
|
+
# @param [String] request_id
|
2103
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2104
|
+
# request ID so that if you must retry your request, the server will know to
|
2105
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2106
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
2107
|
+
# situation where you make an initial request and the request timed out. If you
|
2108
|
+
# make the request again with the same request ID, the server can check if
|
2109
|
+
# original operation with the same request ID was received, and if so, will
|
2110
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2111
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2112
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2113
|
+
# @param [String] update_mask
|
2114
|
+
# Required. Mutable fields include: display_name.
|
2115
|
+
# @param [String] fields
|
2116
|
+
# Selector specifying which fields to include in a partial response.
|
2117
|
+
# @param [String] quota_user
|
2118
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2119
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2120
|
+
# @param [Google::Apis::RequestOptions] options
|
2121
|
+
# Request-specific options
|
2122
|
+
#
|
2123
|
+
# @yield [result, err] Result & error if block supplied
|
2124
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
2125
|
+
# @yieldparam err [StandardError] error object if request failed
|
2126
|
+
#
|
2127
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
2128
|
+
#
|
2129
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2130
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2131
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2132
|
+
def patch_project_location_global_security_gateway_application(name, google_cloud_beyondcorp_securitygateways_v1_application_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2133
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2134
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application::Representation
|
2135
|
+
command.request_object = google_cloud_beyondcorp_securitygateways_v1_application_object
|
2136
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
2137
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
2138
|
+
command.params['name'] = name unless name.nil?
|
2139
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2140
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2141
|
+
command.query['fields'] = fields unless fields.nil?
|
2142
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2143
|
+
execute_or_queue_command(command, &block)
|
2144
|
+
end
|
2145
|
+
|
2053
2146
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2054
2147
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2055
2148
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -2193,6 +2286,395 @@ module Google
|
|
2193
2286
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2194
2287
|
execute_or_queue_command(command, &block)
|
2195
2288
|
end
|
2289
|
+
|
2290
|
+
# Creates a new SecurityGateway in a given project and location.
|
2291
|
+
# @param [String] parent
|
2292
|
+
# Required. The resource project name of the SecurityGateway location using the
|
2293
|
+
# form: `projects/`project_id`/locations/`location_id``
|
2294
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway] google_cloud_beyondcorp_securitygateways_v1_security_gateway_object
|
2295
|
+
# @param [String] request_id
|
2296
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2297
|
+
# request ID so that if you must retry your request, the server will know to
|
2298
|
+
# ignore request if it has already been completed. The server will guarantee
|
2299
|
+
# that for at least 60 minutes since the first request.
|
2300
|
+
# @param [String] security_gateway_id
|
2301
|
+
# Optional. User-settable SecurityGateway resource ID. * Must start with a
|
2302
|
+
# letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with
|
2303
|
+
# a number or letter.
|
2304
|
+
# @param [String] fields
|
2305
|
+
# Selector specifying which fields to include in a partial response.
|
2306
|
+
# @param [String] quota_user
|
2307
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2308
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2309
|
+
# @param [Google::Apis::RequestOptions] options
|
2310
|
+
# Request-specific options
|
2311
|
+
#
|
2312
|
+
# @yield [result, err] Result & error if block supplied
|
2313
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
2314
|
+
# @yieldparam err [StandardError] error object if request failed
|
2315
|
+
#
|
2316
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
2317
|
+
#
|
2318
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2319
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2320
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2321
|
+
def create_project_location_security_gateway(parent, google_cloud_beyondcorp_securitygateways_v1_security_gateway_object = nil, request_id: nil, security_gateway_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2322
|
+
command = make_simple_command(:post, 'v1/{+parent}/securityGateways', options)
|
2323
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway::Representation
|
2324
|
+
command.request_object = google_cloud_beyondcorp_securitygateways_v1_security_gateway_object
|
2325
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
2326
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
2327
|
+
command.params['parent'] = parent unless parent.nil?
|
2328
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2329
|
+
command.query['securityGatewayId'] = security_gateway_id unless security_gateway_id.nil?
|
2330
|
+
command.query['fields'] = fields unless fields.nil?
|
2331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2332
|
+
execute_or_queue_command(command, &block)
|
2333
|
+
end
|
2334
|
+
|
2335
|
+
# Deletes a single SecurityGateway.
|
2336
|
+
# @param [String] name
|
2337
|
+
# Required. BeyondCorp SecurityGateway name using the form: `projects/`
|
2338
|
+
# project_id`/locations/`location_id`/securityGateways/`security_gateway_id``
|
2339
|
+
# @param [String] request_id
|
2340
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2341
|
+
# request ID so that if you must retry your request, the server will know to
|
2342
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2343
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
2344
|
+
# situation where you make an initial request and the request times out. If you
|
2345
|
+
# make the request again with the same request ID, the server can check if
|
2346
|
+
# original operation with the same request ID was received, and if so, will
|
2347
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2348
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2349
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2350
|
+
# @param [Boolean] validate_only
|
2351
|
+
# Optional. If set, validates request by executing a dry-run which would not
|
2352
|
+
# alter the resource in any way.
|
2353
|
+
# @param [String] fields
|
2354
|
+
# Selector specifying which fields to include in a partial response.
|
2355
|
+
# @param [String] quota_user
|
2356
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2357
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2358
|
+
# @param [Google::Apis::RequestOptions] options
|
2359
|
+
# Request-specific options
|
2360
|
+
#
|
2361
|
+
# @yield [result, err] Result & error if block supplied
|
2362
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
2363
|
+
# @yieldparam err [StandardError] error object if request failed
|
2364
|
+
#
|
2365
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
2366
|
+
#
|
2367
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2368
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2369
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2370
|
+
def delete_project_location_security_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2371
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2372
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
2373
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
2374
|
+
command.params['name'] = name unless name.nil?
|
2375
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2376
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
2377
|
+
command.query['fields'] = fields unless fields.nil?
|
2378
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2379
|
+
execute_or_queue_command(command, &block)
|
2380
|
+
end
|
2381
|
+
|
2382
|
+
# Gets details of a single SecurityGateway.
|
2383
|
+
# @param [String] name
|
2384
|
+
# Required. The resource name of the PartnerTenant using the form: `projects/`
|
2385
|
+
# project_id`/locations/`location_id`/securityGateway/`security_gateway_id``
|
2386
|
+
# @param [String] fields
|
2387
|
+
# Selector specifying which fields to include in a partial response.
|
2388
|
+
# @param [String] quota_user
|
2389
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2390
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2391
|
+
# @param [Google::Apis::RequestOptions] options
|
2392
|
+
# Request-specific options
|
2393
|
+
#
|
2394
|
+
# @yield [result, err] Result & error if block supplied
|
2395
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway] parsed result object
|
2396
|
+
# @yieldparam err [StandardError] error object if request failed
|
2397
|
+
#
|
2398
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway]
|
2399
|
+
#
|
2400
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2401
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2402
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2403
|
+
def get_project_location_security_gateway(name, fields: nil, quota_user: nil, options: nil, &block)
|
2404
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2405
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway::Representation
|
2406
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
|
2407
|
+
command.params['name'] = name unless name.nil?
|
2408
|
+
command.query['fields'] = fields unless fields.nil?
|
2409
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2410
|
+
execute_or_queue_command(command, &block)
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
# Lists SecurityGateways in a given project and location.
|
2414
|
+
# @param [String] parent
|
2415
|
+
# Required. The parent location to which the resources belong. `projects/`
|
2416
|
+
# project_id`/locations/`location_id`/`
|
2417
|
+
# @param [String] filter
|
2418
|
+
# Optional. A filter specifying constraints of a list operation. All fields in
|
2419
|
+
# the SecurityGateway message are supported. For example, the following query
|
2420
|
+
# will return the SecurityGateway with displayName "test-security-gateway" For
|
2421
|
+
# more information, please refer to https://google.aip.dev/160.
|
2422
|
+
# @param [String] order_by
|
2423
|
+
# Optional. Specifies the ordering of results. See [Sorting order](https://cloud.
|
2424
|
+
# google.com/apis/design/design_patterns#sorting_order) for more information.
|
2425
|
+
# @param [Fixnum] page_size
|
2426
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
2427
|
+
# value of 50 will be used by the service. Regardless of the page_size value,
|
2428
|
+
# the response may include a partial list and a caller should only rely on
|
2429
|
+
# response's next_page_token to determine if there are more instances left to be
|
2430
|
+
# queried.
|
2431
|
+
# @param [String] page_token
|
2432
|
+
# Optional. The next_page_token value returned from a previous
|
2433
|
+
# ListSecurityGatewayRequest, if any.
|
2434
|
+
# @param [String] fields
|
2435
|
+
# Selector specifying which fields to include in a partial response.
|
2436
|
+
# @param [String] quota_user
|
2437
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2438
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2439
|
+
# @param [Google::Apis::RequestOptions] options
|
2440
|
+
# Request-specific options
|
2441
|
+
#
|
2442
|
+
# @yield [result, err] Result & error if block supplied
|
2443
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse] parsed result object
|
2444
|
+
# @yieldparam err [StandardError] error object if request failed
|
2445
|
+
#
|
2446
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse]
|
2447
|
+
#
|
2448
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2449
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2450
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2451
|
+
def list_project_location_security_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2452
|
+
command = make_simple_command(:get, 'v1/{+parent}/securityGateways', options)
|
2453
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse::Representation
|
2454
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse
|
2455
|
+
command.params['parent'] = parent unless parent.nil?
|
2456
|
+
command.query['filter'] = filter unless filter.nil?
|
2457
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2458
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2459
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2460
|
+
command.query['fields'] = fields unless fields.nil?
|
2461
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2462
|
+
execute_or_queue_command(command, &block)
|
2463
|
+
end
|
2464
|
+
|
2465
|
+
# Updates the parameters of a single SecurityGateway.
|
2466
|
+
# @param [String] name
|
2467
|
+
# Identifier. Name of the resource.
|
2468
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway] google_cloud_beyondcorp_securitygateways_v1_security_gateway_object
|
2469
|
+
# @param [String] request_id
|
2470
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2471
|
+
# request ID so that if you must retry your request, the server will know to
|
2472
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2473
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
2474
|
+
# situation where you make an initial request and the request timed out. If you
|
2475
|
+
# make the request again with the same request ID, the server can check if
|
2476
|
+
# original operation with the same request ID was received, and if so, will
|
2477
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2478
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2479
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2480
|
+
# @param [String] update_mask
|
2481
|
+
# Required. Mutable fields include: display_name, hubs.
|
2482
|
+
# @param [String] fields
|
2483
|
+
# Selector specifying which fields to include in a partial response.
|
2484
|
+
# @param [String] quota_user
|
2485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2487
|
+
# @param [Google::Apis::RequestOptions] options
|
2488
|
+
# Request-specific options
|
2489
|
+
#
|
2490
|
+
# @yield [result, err] Result & error if block supplied
|
2491
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
2492
|
+
# @yieldparam err [StandardError] error object if request failed
|
2493
|
+
#
|
2494
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
2495
|
+
#
|
2496
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2497
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2498
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2499
|
+
def patch_project_location_security_gateway(name, google_cloud_beyondcorp_securitygateways_v1_security_gateway_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2500
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2501
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway::Representation
|
2502
|
+
command.request_object = google_cloud_beyondcorp_securitygateways_v1_security_gateway_object
|
2503
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
2504
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
2505
|
+
command.params['name'] = name unless name.nil?
|
2506
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2507
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2508
|
+
command.query['fields'] = fields unless fields.nil?
|
2509
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2510
|
+
execute_or_queue_command(command, &block)
|
2511
|
+
end
|
2512
|
+
|
2513
|
+
# This is a custom method to allow customers to create a peering connections
|
2514
|
+
# between Google network and customer networks. This is enabled only for the
|
2515
|
+
# allowlisted customers.
|
2516
|
+
# @param [String] security_gateway
|
2517
|
+
# Required. BeyondCorp SecurityGateway name using the form: `projects/`project`/
|
2518
|
+
# locations/`location`/securityGateways/`security_gateway``
|
2519
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest] google_cloud_beyondcorp_securitygateways_v1_set_peering_request_object
|
2520
|
+
# @param [String] fields
|
2521
|
+
# Selector specifying which fields to include in a partial response.
|
2522
|
+
# @param [String] quota_user
|
2523
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2524
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2525
|
+
# @param [Google::Apis::RequestOptions] options
|
2526
|
+
# Request-specific options
|
2527
|
+
#
|
2528
|
+
# @yield [result, err] Result & error if block supplied
|
2529
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
2530
|
+
# @yieldparam err [StandardError] error object if request failed
|
2531
|
+
#
|
2532
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
2533
|
+
#
|
2534
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2535
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2536
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2537
|
+
def set_project_location_security_gateway_peering(security_gateway, google_cloud_beyondcorp_securitygateways_v1_set_peering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2538
|
+
command = make_simple_command(:post, 'v1/{+securityGateway}:setPeering', options)
|
2539
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest::Representation
|
2540
|
+
command.request_object = google_cloud_beyondcorp_securitygateways_v1_set_peering_request_object
|
2541
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
2542
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
2543
|
+
command.params['securityGateway'] = security_gateway unless security_gateway.nil?
|
2544
|
+
command.query['fields'] = fields unless fields.nil?
|
2545
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2546
|
+
execute_or_queue_command(command, &block)
|
2547
|
+
end
|
2548
|
+
|
2549
|
+
# Deletes a single Application.
|
2550
|
+
# @param [String] name
|
2551
|
+
# Required. Name of the resource.
|
2552
|
+
# @param [String] request_id
|
2553
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
2554
|
+
# request ID so that if you must retry your request, the server will know to
|
2555
|
+
# ignore the request if it has already been completed. The server will guarantee
|
2556
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
2557
|
+
# situation where you make an initial request and the request times out. If you
|
2558
|
+
# make the request again with the same request ID, the server can check if
|
2559
|
+
# original operation with the same request ID was received, and if so, will
|
2560
|
+
# ignore the second request. This prevents clients from accidentally creating
|
2561
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
2562
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
2563
|
+
# @param [Boolean] validate_only
|
2564
|
+
# Optional. If set, validates request by executing a dry-run which would not
|
2565
|
+
# alter the resource in any way.
|
2566
|
+
# @param [String] fields
|
2567
|
+
# Selector specifying which fields to include in a partial response.
|
2568
|
+
# @param [String] quota_user
|
2569
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2570
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2571
|
+
# @param [Google::Apis::RequestOptions] options
|
2572
|
+
# Request-specific options
|
2573
|
+
#
|
2574
|
+
# @yield [result, err] Result & error if block supplied
|
2575
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
|
2576
|
+
# @yieldparam err [StandardError] error object if request failed
|
2577
|
+
#
|
2578
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
|
2579
|
+
#
|
2580
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2581
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2582
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2583
|
+
def delete_project_location_security_gateway_application(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2584
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2585
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
|
2586
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
|
2587
|
+
command.params['name'] = name unless name.nil?
|
2588
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2589
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
2590
|
+
command.query['fields'] = fields unless fields.nil?
|
2591
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2592
|
+
execute_or_queue_command(command, &block)
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
# Gets details of a single Application.
|
2596
|
+
# @param [String] name
|
2597
|
+
# Required. The resource name of the Application using the form: `projects/`
|
2598
|
+
# project_id`/locations/global/securityGateway/`security_gateway_id`/
|
2599
|
+
# applications/`application_id``
|
2600
|
+
# @param [String] fields
|
2601
|
+
# Selector specifying which fields to include in a partial response.
|
2602
|
+
# @param [String] quota_user
|
2603
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2604
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2605
|
+
# @param [Google::Apis::RequestOptions] options
|
2606
|
+
# Request-specific options
|
2607
|
+
#
|
2608
|
+
# @yield [result, err] Result & error if block supplied
|
2609
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application] parsed result object
|
2610
|
+
# @yieldparam err [StandardError] error object if request failed
|
2611
|
+
#
|
2612
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application]
|
2613
|
+
#
|
2614
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2615
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2616
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2617
|
+
def get_project_location_security_gateway_application(name, fields: nil, quota_user: nil, options: nil, &block)
|
2618
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2619
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application::Representation
|
2620
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application
|
2621
|
+
command.params['name'] = name unless name.nil?
|
2622
|
+
command.query['fields'] = fields unless fields.nil?
|
2623
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2624
|
+
execute_or_queue_command(command, &block)
|
2625
|
+
end
|
2626
|
+
|
2627
|
+
# Lists Applications in a given project and location.
|
2628
|
+
# @param [String] parent
|
2629
|
+
# Required. The parent location to which the resources belong. `projects/`
|
2630
|
+
# project_id`/locations/global/securityGateways/`security_gateway_id``
|
2631
|
+
# @param [String] filter
|
2632
|
+
# Optional. A filter specifying constraints of a list operation. All fields in
|
2633
|
+
# the Application message are supported. For example, the following query will
|
2634
|
+
# return the Application with displayName "test-application" For more
|
2635
|
+
# information, please refer to https://google.aip.dev/160.
|
2636
|
+
# @param [String] order_by
|
2637
|
+
# Optional. Specifies the ordering of results. See [Sorting order](https://cloud.
|
2638
|
+
# google.com/apis/design/design_patterns#sorting_order) for more information.
|
2639
|
+
# @param [Fixnum] page_size
|
2640
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
2641
|
+
# value of 50 will be used by the service. Regardless of the page_size value,
|
2642
|
+
# the response may include a partial list and a caller should only rely on
|
2643
|
+
# response's next_page_token to determine if there are more instances left to be
|
2644
|
+
# queried.
|
2645
|
+
# @param [String] page_token
|
2646
|
+
# Optional. The next_page_token value returned from a previous
|
2647
|
+
# ListApplicationsRequest, if any.
|
2648
|
+
# @param [String] fields
|
2649
|
+
# Selector specifying which fields to include in a partial response.
|
2650
|
+
# @param [String] quota_user
|
2651
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2652
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2653
|
+
# @param [Google::Apis::RequestOptions] options
|
2654
|
+
# Request-specific options
|
2655
|
+
#
|
2656
|
+
# @yield [result, err] Result & error if block supplied
|
2657
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse] parsed result object
|
2658
|
+
# @yieldparam err [StandardError] error object if request failed
|
2659
|
+
#
|
2660
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse]
|
2661
|
+
#
|
2662
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2663
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2664
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2665
|
+
def list_project_location_security_gateway_applications(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2666
|
+
command = make_simple_command(:get, 'v1/{+parent}/applications', options)
|
2667
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse::Representation
|
2668
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse
|
2669
|
+
command.params['parent'] = parent unless parent.nil?
|
2670
|
+
command.query['filter'] = filter unless filter.nil?
|
2671
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2672
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2673
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2674
|
+
command.query['fields'] = fields unless fields.nil?
|
2675
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2676
|
+
execute_or_queue_command(command, &block)
|
2677
|
+
end
|
2196
2678
|
|
2197
2679
|
protected
|
2198
2680
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-beyondcorp_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.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: 2024-
|
11
|
+
date: 2024-10-06 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-beyondcorp_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|