google-apis-beyondcorp_v1alpha 0.2.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/google/apis/beyondcorp_v1alpha/classes.rb +454 -5
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +169 -0
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +131 -9
- data/lib/google/apis/beyondcorp_v1alpha.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfcb1f5bb043057ad8ade4bcbc2786415f4521f0b53b02d35b7be283f15d97b4
|
4
|
+
data.tar.gz: d850d69db49222bb4f458f43a94ad11e2babcb3187318b259f9f57baddf5497b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7f18b0a4eb1f84b20806643da1b79476d60ad4c6bdeebb15948ee78552bfe4ef35aa231b9e2830396044875494efc06e983412010b3cf61abb7c8aae20f80d3
|
7
|
+
data.tar.gz: a8e354d4da7cc5b266805c1367a8e2e87c1817f9ac796ec6c6a83c4bfe7a4eab041a338d558476aefa47f70cad2a9b014b91f889d7713f3024858c75723f4bbf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1alpha
|
2
2
|
|
3
|
+
### v0.5.0 (2022-07-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220712
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
8
|
+
### v0.4.0 (2022-07-02)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.8.0
|
11
|
+
* Regenerated from discovery document revision 20220616
|
12
|
+
|
13
|
+
### v0.3.0 (2022-06-19)
|
14
|
+
|
15
|
+
* Regenerated using generator version 0.7.0
|
16
|
+
|
3
17
|
### v0.2.0 (2022-06-05)
|
4
18
|
|
5
19
|
* Regenerated using generator version 0.5.0
|
@@ -1116,6 +1116,65 @@ module Google
|
|
1116
1116
|
end
|
1117
1117
|
end
|
1118
1118
|
|
1119
|
+
# Represents the metadata of the long-running operation.
|
1120
|
+
class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata
|
1121
|
+
include Google::Apis::Core::Hashable
|
1122
|
+
|
1123
|
+
# Output only. API version used to start the operation.
|
1124
|
+
# Corresponds to the JSON property `apiVersion`
|
1125
|
+
# @return [String]
|
1126
|
+
attr_accessor :api_version
|
1127
|
+
|
1128
|
+
# Output only. The time the operation was created.
|
1129
|
+
# Corresponds to the JSON property `createTime`
|
1130
|
+
# @return [String]
|
1131
|
+
attr_accessor :create_time
|
1132
|
+
|
1133
|
+
# Output only. The time the operation finished running.
|
1134
|
+
# Corresponds to the JSON property `endTime`
|
1135
|
+
# @return [String]
|
1136
|
+
attr_accessor :end_time
|
1137
|
+
|
1138
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1139
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
1140
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1141
|
+
# CANCELLED`.
|
1142
|
+
# Corresponds to the JSON property `requestedCancellation`
|
1143
|
+
# @return [Boolean]
|
1144
|
+
attr_accessor :requested_cancellation
|
1145
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
1146
|
+
|
1147
|
+
# Output only. Human-readable status of the operation, if any.
|
1148
|
+
# Corresponds to the JSON property `statusMessage`
|
1149
|
+
# @return [String]
|
1150
|
+
attr_accessor :status_message
|
1151
|
+
|
1152
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1153
|
+
# Corresponds to the JSON property `target`
|
1154
|
+
# @return [String]
|
1155
|
+
attr_accessor :target
|
1156
|
+
|
1157
|
+
# Output only. Name of the verb executed by the operation.
|
1158
|
+
# Corresponds to the JSON property `verb`
|
1159
|
+
# @return [String]
|
1160
|
+
attr_accessor :verb
|
1161
|
+
|
1162
|
+
def initialize(**args)
|
1163
|
+
update!(**args)
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
# Update properties of this object
|
1167
|
+
def update!(**args)
|
1168
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1169
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1170
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1171
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
1172
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1173
|
+
@target = args[:target] if args.key?(:target)
|
1174
|
+
@verb = args[:verb] if args.key?(:verb)
|
1175
|
+
end
|
1176
|
+
end
|
1177
|
+
|
1119
1178
|
# A BeyondCorp AppConnection resource represents a BeyondCorp protected
|
1120
1179
|
# AppConnection to a remote application. It creates all the necessary GCP
|
1121
1180
|
# components needed for creating a BeyondCorp protected AppConnection. Multiple
|
@@ -1232,8 +1291,8 @@ module Google
|
|
1232
1291
|
class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway
|
1233
1292
|
include Google::Apis::Core::Hashable
|
1234
1293
|
|
1235
|
-
# Required. AppGateway name in following format: projects/`project_id`/
|
1236
|
-
#
|
1294
|
+
# Required. AppGateway name in following format: `projects/`project_id`/
|
1295
|
+
# locations/`location_id`/appgateways/`gateway_id``
|
1237
1296
|
# Corresponds to the JSON property `appGateway`
|
1238
1297
|
# @return [String]
|
1239
1298
|
attr_accessor :app_gateway
|
@@ -1402,9 +1461,9 @@ module Google
|
|
1402
1461
|
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection]
|
1403
1462
|
attr_accessor :app_connection
|
1404
1463
|
|
1405
|
-
# If type=GCP_REGIONAL_MIG, contains most recent VM instances, like
|
1464
|
+
# If type=GCP_REGIONAL_MIG, contains most recent VM instances, like `https://www.
|
1406
1465
|
# googleapis.com/compute/v1/projects/`project_id`/zones/`zone_id`/instances/`
|
1407
|
-
# instance_id
|
1466
|
+
# instance_id``.
|
1408
1467
|
# Corresponds to the JSON property `recentMigVms`
|
1409
1468
|
# @return [Array<String>]
|
1410
1469
|
attr_accessor :recent_mig_vms
|
@@ -1420,6 +1479,115 @@ module Google
|
|
1420
1479
|
end
|
1421
1480
|
end
|
1422
1481
|
|
1482
|
+
# Represents the metadata of the long-running operation.
|
1483
|
+
class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata
|
1484
|
+
include Google::Apis::Core::Hashable
|
1485
|
+
|
1486
|
+
# Output only. API version used to start the operation.
|
1487
|
+
# Corresponds to the JSON property `apiVersion`
|
1488
|
+
# @return [String]
|
1489
|
+
attr_accessor :api_version
|
1490
|
+
|
1491
|
+
# Output only. The time the operation was created.
|
1492
|
+
# Corresponds to the JSON property `createTime`
|
1493
|
+
# @return [String]
|
1494
|
+
attr_accessor :create_time
|
1495
|
+
|
1496
|
+
# Output only. The time the operation finished running.
|
1497
|
+
# Corresponds to the JSON property `endTime`
|
1498
|
+
# @return [String]
|
1499
|
+
attr_accessor :end_time
|
1500
|
+
|
1501
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1502
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
1503
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1504
|
+
# CANCELLED`.
|
1505
|
+
# Corresponds to the JSON property `requestedCancellation`
|
1506
|
+
# @return [Boolean]
|
1507
|
+
attr_accessor :requested_cancellation
|
1508
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
1509
|
+
|
1510
|
+
# Output only. Human-readable status of the operation, if any.
|
1511
|
+
# Corresponds to the JSON property `statusMessage`
|
1512
|
+
# @return [String]
|
1513
|
+
attr_accessor :status_message
|
1514
|
+
|
1515
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1516
|
+
# Corresponds to the JSON property `target`
|
1517
|
+
# @return [String]
|
1518
|
+
attr_accessor :target
|
1519
|
+
|
1520
|
+
# Output only. Name of the verb executed by the operation.
|
1521
|
+
# Corresponds to the JSON property `verb`
|
1522
|
+
# @return [String]
|
1523
|
+
attr_accessor :verb
|
1524
|
+
|
1525
|
+
def initialize(**args)
|
1526
|
+
update!(**args)
|
1527
|
+
end
|
1528
|
+
|
1529
|
+
# Update properties of this object
|
1530
|
+
def update!(**args)
|
1531
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1532
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1533
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1534
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
1535
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1536
|
+
@target = args[:target] if args.key?(:target)
|
1537
|
+
@verb = args[:verb] if args.key?(:verb)
|
1538
|
+
end
|
1539
|
+
end
|
1540
|
+
|
1541
|
+
# ContainerHealthDetails reflects the health details of a container.
|
1542
|
+
class GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails
|
1543
|
+
include Google::Apis::Core::Hashable
|
1544
|
+
|
1545
|
+
# The version of the current config.
|
1546
|
+
# Corresponds to the JSON property `currentConfigVersion`
|
1547
|
+
# @return [String]
|
1548
|
+
attr_accessor :current_config_version
|
1549
|
+
|
1550
|
+
# The latest error message.
|
1551
|
+
# Corresponds to the JSON property `errorMsg`
|
1552
|
+
# @return [String]
|
1553
|
+
attr_accessor :error_msg
|
1554
|
+
|
1555
|
+
# The version of the expected config.
|
1556
|
+
# Corresponds to the JSON property `expectedConfigVersion`
|
1557
|
+
# @return [String]
|
1558
|
+
attr_accessor :expected_config_version
|
1559
|
+
|
1560
|
+
# The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
|
1561
|
+
# Corresponds to the JSON property `extendedStatus`
|
1562
|
+
# @return [Hash<String,String>]
|
1563
|
+
attr_accessor :extended_status
|
1564
|
+
|
1565
|
+
def initialize(**args)
|
1566
|
+
update!(**args)
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
# Update properties of this object
|
1570
|
+
def update!(**args)
|
1571
|
+
@current_config_version = args[:current_config_version] if args.key?(:current_config_version)
|
1572
|
+
@error_msg = args[:error_msg] if args.key?(:error_msg)
|
1573
|
+
@expected_config_version = args[:expected_config_version] if args.key?(:expected_config_version)
|
1574
|
+
@extended_status = args[:extended_status] if args.key?(:extended_status)
|
1575
|
+
end
|
1576
|
+
end
|
1577
|
+
|
1578
|
+
# RemoteAgentDetails reflects the details of a remote agent.
|
1579
|
+
class GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails
|
1580
|
+
include Google::Apis::Core::Hashable
|
1581
|
+
|
1582
|
+
def initialize(**args)
|
1583
|
+
update!(**args)
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
# Update properties of this object
|
1587
|
+
def update!(**args)
|
1588
|
+
end
|
1589
|
+
end
|
1590
|
+
|
1423
1591
|
# A BeyondCorp connector resource that represents an application facing
|
1424
1592
|
# component deployed proximal to and with direct access to the application
|
1425
1593
|
# instances. It is used to establish connectivity between the remote enterprise
|
@@ -1631,17 +1799,55 @@ module Google
|
|
1631
1799
|
end
|
1632
1800
|
end
|
1633
1801
|
|
1802
|
+
# ContainerHealthDetails reflects the health details of a container.
|
1803
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails
|
1804
|
+
include Google::Apis::Core::Hashable
|
1805
|
+
|
1806
|
+
# The version of the current config.
|
1807
|
+
# Corresponds to the JSON property `currentConfigVersion`
|
1808
|
+
# @return [String]
|
1809
|
+
attr_accessor :current_config_version
|
1810
|
+
|
1811
|
+
# The latest error message.
|
1812
|
+
# Corresponds to the JSON property `errorMsg`
|
1813
|
+
# @return [String]
|
1814
|
+
attr_accessor :error_msg
|
1815
|
+
|
1816
|
+
# The version of the expected config.
|
1817
|
+
# Corresponds to the JSON property `expectedConfigVersion`
|
1818
|
+
# @return [String]
|
1819
|
+
attr_accessor :expected_config_version
|
1820
|
+
|
1821
|
+
# The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
|
1822
|
+
# Corresponds to the JSON property `extendedStatus`
|
1823
|
+
# @return [Hash<String,String>]
|
1824
|
+
attr_accessor :extended_status
|
1825
|
+
|
1826
|
+
def initialize(**args)
|
1827
|
+
update!(**args)
|
1828
|
+
end
|
1829
|
+
|
1830
|
+
# Update properties of this object
|
1831
|
+
def update!(**args)
|
1832
|
+
@current_config_version = args[:current_config_version] if args.key?(:current_config_version)
|
1833
|
+
@error_msg = args[:error_msg] if args.key?(:error_msg)
|
1834
|
+
@expected_config_version = args[:expected_config_version] if args.key?(:expected_config_version)
|
1835
|
+
@extended_status = args[:extended_status] if args.key?(:extended_status)
|
1836
|
+
end
|
1837
|
+
end
|
1838
|
+
|
1634
1839
|
# ImageConfig defines the control plane images to run.
|
1635
1840
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig
|
1636
1841
|
include Google::Apis::Core::Hashable
|
1637
1842
|
|
1638
1843
|
# The stable image that the remote agent will fallback to if the target image
|
1639
|
-
# fails.
|
1844
|
+
# fails. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1
|
1640
1845
|
# Corresponds to the JSON property `stableImage`
|
1641
1846
|
# @return [String]
|
1642
1847
|
attr_accessor :stable_image
|
1643
1848
|
|
1644
1849
|
# The initial image the remote agent will attempt to run for the control plane.
|
1850
|
+
# Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1
|
1645
1851
|
# Corresponds to the JSON property `targetImage`
|
1646
1852
|
# @return [String]
|
1647
1853
|
attr_accessor :target_image
|
@@ -1727,6 +1933,19 @@ module Google
|
|
1727
1933
|
end
|
1728
1934
|
end
|
1729
1935
|
|
1936
|
+
# RemoteAgentDetails reflects the details of a remote agent.
|
1937
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails
|
1938
|
+
include Google::Apis::Core::Hashable
|
1939
|
+
|
1940
|
+
def initialize(**args)
|
1941
|
+
update!(**args)
|
1942
|
+
end
|
1943
|
+
|
1944
|
+
# Update properties of this object
|
1945
|
+
def update!(**args)
|
1946
|
+
end
|
1947
|
+
end
|
1948
|
+
|
1730
1949
|
# Request report the connector status.
|
1731
1950
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest
|
1732
1951
|
include Google::Apis::Core::Hashable
|
@@ -1837,6 +2056,236 @@ module Google
|
|
1837
2056
|
end
|
1838
2057
|
end
|
1839
2058
|
|
2059
|
+
# Represents the metadata of the long-running operation.
|
2060
|
+
class GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata
|
2061
|
+
include Google::Apis::Core::Hashable
|
2062
|
+
|
2063
|
+
# Output only. API version used to start the operation.
|
2064
|
+
# Corresponds to the JSON property `apiVersion`
|
2065
|
+
# @return [String]
|
2066
|
+
attr_accessor :api_version
|
2067
|
+
|
2068
|
+
# Output only. The time the operation was created.
|
2069
|
+
# Corresponds to the JSON property `createTime`
|
2070
|
+
# @return [String]
|
2071
|
+
attr_accessor :create_time
|
2072
|
+
|
2073
|
+
# Output only. The time the operation finished running.
|
2074
|
+
# Corresponds to the JSON property `endTime`
|
2075
|
+
# @return [String]
|
2076
|
+
attr_accessor :end_time
|
2077
|
+
|
2078
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
2079
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
2080
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
2081
|
+
# CANCELLED`.
|
2082
|
+
# Corresponds to the JSON property `requestedCancellation`
|
2083
|
+
# @return [Boolean]
|
2084
|
+
attr_accessor :requested_cancellation
|
2085
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
2086
|
+
|
2087
|
+
# Output only. Human-readable status of the operation, if any.
|
2088
|
+
# Corresponds to the JSON property `statusMessage`
|
2089
|
+
# @return [String]
|
2090
|
+
attr_accessor :status_message
|
2091
|
+
|
2092
|
+
# Output only. Server-defined resource path for the target of the operation.
|
2093
|
+
# Corresponds to the JSON property `target`
|
2094
|
+
# @return [String]
|
2095
|
+
attr_accessor :target
|
2096
|
+
|
2097
|
+
# Output only. Name of the verb executed by the operation.
|
2098
|
+
# Corresponds to the JSON property `verb`
|
2099
|
+
# @return [String]
|
2100
|
+
attr_accessor :verb
|
2101
|
+
|
2102
|
+
def initialize(**args)
|
2103
|
+
update!(**args)
|
2104
|
+
end
|
2105
|
+
|
2106
|
+
# Update properties of this object
|
2107
|
+
def update!(**args)
|
2108
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2109
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2110
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2111
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2112
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
2113
|
+
@target = args[:target] if args.key?(:target)
|
2114
|
+
@verb = args[:verb] if args.key?(:verb)
|
2115
|
+
end
|
2116
|
+
end
|
2117
|
+
|
2118
|
+
# Represents the metadata of the long-running operation.
|
2119
|
+
class GoogleCloudBeyondcorpApplicationsV1alphaApplicationOperationMetadata
|
2120
|
+
include Google::Apis::Core::Hashable
|
2121
|
+
|
2122
|
+
# Output only. The time the operation was created.
|
2123
|
+
# Corresponds to the JSON property `createTime`
|
2124
|
+
# @return [String]
|
2125
|
+
attr_accessor :create_time
|
2126
|
+
|
2127
|
+
# Output only. The time the operation finished running.
|
2128
|
+
# Corresponds to the JSON property `endTime`
|
2129
|
+
# @return [String]
|
2130
|
+
attr_accessor :end_time
|
2131
|
+
|
2132
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
2133
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
2134
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
2135
|
+
# CANCELLED`.
|
2136
|
+
# Corresponds to the JSON property `requestedCancellation`
|
2137
|
+
# @return [Boolean]
|
2138
|
+
attr_accessor :requested_cancellation
|
2139
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
2140
|
+
|
2141
|
+
# Output only. Human-readable status of the operation, if any.
|
2142
|
+
# Corresponds to the JSON property `statusMessage`
|
2143
|
+
# @return [String]
|
2144
|
+
attr_accessor :status_message
|
2145
|
+
|
2146
|
+
# Output only. Server-defined resource path for the target of the operation.
|
2147
|
+
# Corresponds to the JSON property `target`
|
2148
|
+
# @return [String]
|
2149
|
+
attr_accessor :target
|
2150
|
+
|
2151
|
+
# Output only. Name of the verb executed by the operation.
|
2152
|
+
# Corresponds to the JSON property `verb`
|
2153
|
+
# @return [String]
|
2154
|
+
attr_accessor :verb
|
2155
|
+
|
2156
|
+
def initialize(**args)
|
2157
|
+
update!(**args)
|
2158
|
+
end
|
2159
|
+
|
2160
|
+
# Update properties of this object
|
2161
|
+
def update!(**args)
|
2162
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2163
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2164
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2165
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
2166
|
+
@target = args[:target] if args.key?(:target)
|
2167
|
+
@verb = args[:verb] if args.key?(:verb)
|
2168
|
+
end
|
2169
|
+
end
|
2170
|
+
|
2171
|
+
# Represents the metadata of the long-running operation.
|
2172
|
+
class GoogleCloudBeyondcorpClientconnectorservicesV1ClientConnectorServiceOperationMetadata
|
2173
|
+
include Google::Apis::Core::Hashable
|
2174
|
+
|
2175
|
+
# Output only. API version used to start the operation.
|
2176
|
+
# Corresponds to the JSON property `apiVersion`
|
2177
|
+
# @return [String]
|
2178
|
+
attr_accessor :api_version
|
2179
|
+
|
2180
|
+
# Output only. The time the operation was created.
|
2181
|
+
# Corresponds to the JSON property `createTime`
|
2182
|
+
# @return [String]
|
2183
|
+
attr_accessor :create_time
|
2184
|
+
|
2185
|
+
# Output only. The time the operation finished running.
|
2186
|
+
# Corresponds to the JSON property `endTime`
|
2187
|
+
# @return [String]
|
2188
|
+
attr_accessor :end_time
|
2189
|
+
|
2190
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
2191
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
2192
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
2193
|
+
# CANCELLED`.
|
2194
|
+
# Corresponds to the JSON property `requestedCancellation`
|
2195
|
+
# @return [Boolean]
|
2196
|
+
attr_accessor :requested_cancellation
|
2197
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
2198
|
+
|
2199
|
+
# Output only. Human-readable status of the operation, if any.
|
2200
|
+
# Corresponds to the JSON property `statusMessage`
|
2201
|
+
# @return [String]
|
2202
|
+
attr_accessor :status_message
|
2203
|
+
|
2204
|
+
# Output only. Server-defined resource path for the target of the operation.
|
2205
|
+
# Corresponds to the JSON property `target`
|
2206
|
+
# @return [String]
|
2207
|
+
attr_accessor :target
|
2208
|
+
|
2209
|
+
# Output only. Name of the verb executed by the operation.
|
2210
|
+
# Corresponds to the JSON property `verb`
|
2211
|
+
# @return [String]
|
2212
|
+
attr_accessor :verb
|
2213
|
+
|
2214
|
+
def initialize(**args)
|
2215
|
+
update!(**args)
|
2216
|
+
end
|
2217
|
+
|
2218
|
+
# Update properties of this object
|
2219
|
+
def update!(**args)
|
2220
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2221
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2222
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2223
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2224
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
2225
|
+
@target = args[:target] if args.key?(:target)
|
2226
|
+
@verb = args[:verb] if args.key?(:verb)
|
2227
|
+
end
|
2228
|
+
end
|
2229
|
+
|
2230
|
+
# Represents the metadata of the long-running operation.
|
2231
|
+
class GoogleCloudBeyondcorpClientgatewaysV1ClientGatewayOperationMetadata
|
2232
|
+
include Google::Apis::Core::Hashable
|
2233
|
+
|
2234
|
+
# Output only. API version used to start the operation.
|
2235
|
+
# Corresponds to the JSON property `apiVersion`
|
2236
|
+
# @return [String]
|
2237
|
+
attr_accessor :api_version
|
2238
|
+
|
2239
|
+
# Output only. The time the operation was created.
|
2240
|
+
# Corresponds to the JSON property `createTime`
|
2241
|
+
# @return [String]
|
2242
|
+
attr_accessor :create_time
|
2243
|
+
|
2244
|
+
# Output only. The time the operation finished running.
|
2245
|
+
# Corresponds to the JSON property `endTime`
|
2246
|
+
# @return [String]
|
2247
|
+
attr_accessor :end_time
|
2248
|
+
|
2249
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
2250
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
2251
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
2252
|
+
# CANCELLED`.
|
2253
|
+
# Corresponds to the JSON property `requestedCancellation`
|
2254
|
+
# @return [Boolean]
|
2255
|
+
attr_accessor :requested_cancellation
|
2256
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
2257
|
+
|
2258
|
+
# Output only. Human-readable status of the operation, if any.
|
2259
|
+
# Corresponds to the JSON property `statusMessage`
|
2260
|
+
# @return [String]
|
2261
|
+
attr_accessor :status_message
|
2262
|
+
|
2263
|
+
# Output only. Server-defined resource path for the target of the operation.
|
2264
|
+
# Corresponds to the JSON property `target`
|
2265
|
+
# @return [String]
|
2266
|
+
attr_accessor :target
|
2267
|
+
|
2268
|
+
# Output only. Name of the verb executed by the operation.
|
2269
|
+
# Corresponds to the JSON property `verb`
|
2270
|
+
# @return [String]
|
2271
|
+
attr_accessor :verb
|
2272
|
+
|
2273
|
+
def initialize(**args)
|
2274
|
+
update!(**args)
|
2275
|
+
end
|
2276
|
+
|
2277
|
+
# Update properties of this object
|
2278
|
+
def update!(**args)
|
2279
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
2280
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2281
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2282
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2283
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
2284
|
+
@target = args[:target] if args.key?(:target)
|
2285
|
+
@verb = args[:verb] if args.key?(:verb)
|
2286
|
+
end
|
2287
|
+
end
|
2288
|
+
|
1840
2289
|
# The response message for Locations.ListLocations.
|
1841
2290
|
class GoogleCloudLocationListLocationsResponse
|
1842
2291
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BeyondcorpV1alpha
|
18
18
|
# Version of the google-apis-beyondcorp_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220712"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,6 +172,12 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
175
181
|
class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
183
|
|
@@ -214,6 +220,24 @@ module Google
|
|
214
220
|
include Google::Apis::Core::JsonObjectSupport
|
215
221
|
end
|
216
222
|
|
223
|
+
class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
217
241
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector
|
218
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
243
|
|
@@ -244,6 +268,12 @@ module Google
|
|
244
268
|
include Google::Apis::Core::JsonObjectSupport
|
245
269
|
end
|
246
270
|
|
271
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
247
277
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig
|
248
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
279
|
|
@@ -268,6 +298,12 @@ module Google
|
|
268
298
|
include Google::Apis::Core::JsonObjectSupport
|
269
299
|
end
|
270
300
|
|
301
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
271
307
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest
|
272
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
309
|
|
@@ -286,6 +322,30 @@ module Google
|
|
286
322
|
include Google::Apis::Core::JsonObjectSupport
|
287
323
|
end
|
288
324
|
|
325
|
+
class GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class GoogleCloudBeyondcorpApplicationsV1alphaApplicationOperationMetadata
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class GoogleCloudBeyondcorpClientconnectorservicesV1ClientConnectorServiceOperationMetadata
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class GoogleCloudBeyondcorpClientgatewaysV1ClientGatewayOperationMetadata
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
289
349
|
class GoogleCloudLocationListLocationsResponse
|
290
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
351
|
|
@@ -756,6 +816,19 @@ module Google
|
|
756
816
|
end
|
757
817
|
end
|
758
818
|
|
819
|
+
class GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata
|
820
|
+
# @private
|
821
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
822
|
+
property :api_version, as: 'apiVersion'
|
823
|
+
property :create_time, as: 'createTime'
|
824
|
+
property :end_time, as: 'endTime'
|
825
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
826
|
+
property :status_message, as: 'statusMessage'
|
827
|
+
property :target, as: 'target'
|
828
|
+
property :verb, as: 'verb'
|
829
|
+
end
|
830
|
+
end
|
831
|
+
|
759
832
|
class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection
|
760
833
|
# @private
|
761
834
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -835,6 +908,35 @@ module Google
|
|
835
908
|
end
|
836
909
|
end
|
837
910
|
|
911
|
+
class GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata
|
912
|
+
# @private
|
913
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
914
|
+
property :api_version, as: 'apiVersion'
|
915
|
+
property :create_time, as: 'createTime'
|
916
|
+
property :end_time, as: 'endTime'
|
917
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
918
|
+
property :status_message, as: 'statusMessage'
|
919
|
+
property :target, as: 'target'
|
920
|
+
property :verb, as: 'verb'
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
924
|
+
class GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails
|
925
|
+
# @private
|
926
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
927
|
+
property :current_config_version, as: 'currentConfigVersion'
|
928
|
+
property :error_msg, as: 'errorMsg'
|
929
|
+
property :expected_config_version, as: 'expectedConfigVersion'
|
930
|
+
hash :extended_status, as: 'extendedStatus'
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
934
|
+
class GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails
|
935
|
+
# @private
|
936
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
838
940
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector
|
839
941
|
# @private
|
840
942
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -892,6 +994,16 @@ module Google
|
|
892
994
|
end
|
893
995
|
end
|
894
996
|
|
997
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails
|
998
|
+
# @private
|
999
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1000
|
+
property :current_config_version, as: 'currentConfigVersion'
|
1001
|
+
property :error_msg, as: 'errorMsg'
|
1002
|
+
property :expected_config_version, as: 'expectedConfigVersion'
|
1003
|
+
hash :extended_status, as: 'extendedStatus'
|
1004
|
+
end
|
1005
|
+
end
|
1006
|
+
|
895
1007
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig
|
896
1008
|
# @private
|
897
1009
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -925,6 +1037,12 @@ module Google
|
|
925
1037
|
end
|
926
1038
|
end
|
927
1039
|
|
1040
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails
|
1041
|
+
# @private
|
1042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
928
1046
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest
|
929
1047
|
# @private
|
930
1048
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -955,6 +1073,57 @@ module Google
|
|
955
1073
|
end
|
956
1074
|
end
|
957
1075
|
|
1076
|
+
class GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata
|
1077
|
+
# @private
|
1078
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1079
|
+
property :api_version, as: 'apiVersion'
|
1080
|
+
property :create_time, as: 'createTime'
|
1081
|
+
property :end_time, as: 'endTime'
|
1082
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
1083
|
+
property :status_message, as: 'statusMessage'
|
1084
|
+
property :target, as: 'target'
|
1085
|
+
property :verb, as: 'verb'
|
1086
|
+
end
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
class GoogleCloudBeyondcorpApplicationsV1alphaApplicationOperationMetadata
|
1090
|
+
# @private
|
1091
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1092
|
+
property :create_time, as: 'createTime'
|
1093
|
+
property :end_time, as: 'endTime'
|
1094
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
1095
|
+
property :status_message, as: 'statusMessage'
|
1096
|
+
property :target, as: 'target'
|
1097
|
+
property :verb, as: 'verb'
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
class GoogleCloudBeyondcorpClientconnectorservicesV1ClientConnectorServiceOperationMetadata
|
1102
|
+
# @private
|
1103
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1104
|
+
property :api_version, as: 'apiVersion'
|
1105
|
+
property :create_time, as: 'createTime'
|
1106
|
+
property :end_time, as: 'endTime'
|
1107
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
1108
|
+
property :status_message, as: 'statusMessage'
|
1109
|
+
property :target, as: 'target'
|
1110
|
+
property :verb, as: 'verb'
|
1111
|
+
end
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
class GoogleCloudBeyondcorpClientgatewaysV1ClientGatewayOperationMetadata
|
1115
|
+
# @private
|
1116
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1117
|
+
property :api_version, as: 'apiVersion'
|
1118
|
+
property :create_time, as: 'createTime'
|
1119
|
+
property :end_time, as: 'endTime'
|
1120
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
1121
|
+
property :status_message, as: 'statusMessage'
|
1122
|
+
property :target, as: 'target'
|
1123
|
+
property :verb, as: 'verb'
|
1124
|
+
end
|
1125
|
+
end
|
1126
|
+
|
958
1127
|
class GoogleCloudLocationListLocationsResponse
|
959
1128
|
# @private
|
960
1129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# Beyondcorp Enterprise provides identity and context aware access controls for
|
26
26
|
# enterprise resources and enables zero-trust access. Using the Beyondcorp
|
27
27
|
# Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity
|
28
|
-
#
|
28
|
+
# solutions.
|
29
29
|
#
|
30
30
|
# @example
|
31
31
|
# require 'google/apis/beyondcorp_v1alpha'
|
@@ -132,7 +132,7 @@ module Google
|
|
132
132
|
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection] google_cloud_beyondcorp_appconnections_v1alpha_app_connection_object
|
133
133
|
# @param [String] app_connection_id
|
134
134
|
# Optional. User-settable AppConnection resource ID. * Must start with a letter.
|
135
|
-
# * Must contain between 4-63 characters from
|
135
|
+
# * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
136
136
|
# or a letter.
|
137
137
|
# @param [String] request_id
|
138
138
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -542,7 +542,7 @@ module Google
|
|
542
542
|
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector] google_cloud_beyondcorp_appconnectors_v1alpha_app_connector_object
|
543
543
|
# @param [String] app_connector_id
|
544
544
|
# Optional. User-settable AppConnector resource ID. * Must start with a letter. *
|
545
|
-
# Must contain between 4-63 characters from
|
545
|
+
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
546
546
|
# or a letter.
|
547
547
|
# @param [String] request_id
|
548
548
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -966,7 +966,7 @@ module Google
|
|
966
966
|
# @param [Google::Apis::BeyondcorpV1alpha::AppGateway] app_gateway_object
|
967
967
|
# @param [String] app_gateway_id
|
968
968
|
# Optional. User-settable AppGateway resource ID. * Must start with a letter. *
|
969
|
-
# Must contain between 4-63 characters from
|
969
|
+
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
970
970
|
# or a letter.
|
971
971
|
# @param [String] request_id
|
972
972
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -1262,13 +1262,134 @@ module Google
|
|
1262
1262
|
execute_or_queue_command(command, &block)
|
1263
1263
|
end
|
1264
1264
|
|
1265
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1266
|
+
# resource exists and does not have a policy set.
|
1267
|
+
# @param [String] resource
|
1268
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1269
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1270
|
+
# appropriate value for this field.
|
1271
|
+
# @param [Fixnum] options_requested_policy_version
|
1272
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1273
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1274
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1275
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1276
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1277
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1278
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1279
|
+
# bindings, the response uses version 1. To learn which resources support
|
1280
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1281
|
+
# google.com/iam/help/conditions/resource-policies).
|
1282
|
+
# @param [String] fields
|
1283
|
+
# Selector specifying which fields to include in a partial response.
|
1284
|
+
# @param [String] quota_user
|
1285
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1286
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1287
|
+
# @param [Google::Apis::RequestOptions] options
|
1288
|
+
# Request-specific options
|
1289
|
+
#
|
1290
|
+
# @yield [result, err] Result & error if block supplied
|
1291
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
1292
|
+
# @yieldparam err [StandardError] error object if request failed
|
1293
|
+
#
|
1294
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
1295
|
+
#
|
1296
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1297
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1298
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1299
|
+
def get_project_location_application_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1300
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
1301
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
1302
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
1303
|
+
command.params['resource'] = resource unless resource.nil?
|
1304
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1305
|
+
command.query['fields'] = fields unless fields.nil?
|
1306
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1307
|
+
execute_or_queue_command(command, &block)
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1311
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1312
|
+
# PERMISSION_DENIED` errors.
|
1313
|
+
# @param [String] resource
|
1314
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1315
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1316
|
+
# appropriate value for this field.
|
1317
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
1318
|
+
# @param [String] fields
|
1319
|
+
# Selector specifying which fields to include in a partial response.
|
1320
|
+
# @param [String] quota_user
|
1321
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1322
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1323
|
+
# @param [Google::Apis::RequestOptions] options
|
1324
|
+
# Request-specific options
|
1325
|
+
#
|
1326
|
+
# @yield [result, err] Result & error if block supplied
|
1327
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
1328
|
+
# @yieldparam err [StandardError] error object if request failed
|
1329
|
+
#
|
1330
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
1331
|
+
#
|
1332
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1333
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1334
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1335
|
+
def set_project_location_application_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1336
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
1337
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
|
1338
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
1339
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
1340
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
1341
|
+
command.params['resource'] = resource unless resource.nil?
|
1342
|
+
command.query['fields'] = fields unless fields.nil?
|
1343
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1344
|
+
execute_or_queue_command(command, &block)
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1348
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1349
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1350
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1351
|
+
# This operation may "fail open" without warning.
|
1352
|
+
# @param [String] resource
|
1353
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1354
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1355
|
+
# appropriate value for this field.
|
1356
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1357
|
+
# @param [String] fields
|
1358
|
+
# Selector specifying which fields to include in a partial response.
|
1359
|
+
# @param [String] quota_user
|
1360
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1361
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1362
|
+
# @param [Google::Apis::RequestOptions] options
|
1363
|
+
# Request-specific options
|
1364
|
+
#
|
1365
|
+
# @yield [result, err] Result & error if block supplied
|
1366
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
1367
|
+
# @yieldparam err [StandardError] error object if request failed
|
1368
|
+
#
|
1369
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
|
1370
|
+
#
|
1371
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1372
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1373
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1374
|
+
def test_project_location_application_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1375
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
1376
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
|
1377
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
1378
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
|
1379
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
|
1380
|
+
command.params['resource'] = resource unless resource.nil?
|
1381
|
+
command.query['fields'] = fields unless fields.nil?
|
1382
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1383
|
+
execute_or_queue_command(command, &block)
|
1384
|
+
end
|
1385
|
+
|
1265
1386
|
# Creates a new ClientConnectorService in a given project and location.
|
1266
1387
|
# @param [String] parent
|
1267
1388
|
# Required. Value for parent.
|
1268
1389
|
# @param [Google::Apis::BeyondcorpV1alpha::ClientConnectorService] client_connector_service_object
|
1269
1390
|
# @param [String] client_connector_service_id
|
1270
1391
|
# Optional. User-settable client connector service resource ID. * Must start
|
1271
|
-
# with a letter. * Must contain between 4-63 characters from
|
1392
|
+
# with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must
|
1272
1393
|
# end with a number or a letter. A random system generated name will be assigned
|
1273
1394
|
# if not specified by the user.
|
1274
1395
|
# @param [String] request_id
|
@@ -1503,7 +1624,8 @@ module Google
|
|
1503
1624
|
# ClientConnectorService resource by the update. The fields specified in the
|
1504
1625
|
# update_mask are relative to the resource, not the full request. A field will
|
1505
1626
|
# be overwritten if it is in the mask. If the user does not provide a mask then
|
1506
|
-
# all fields will be overwritten. Mutable fields: display_name.
|
1627
|
+
# all fields will be overwritten. Mutable fields: display_name, ingress.config.
|
1628
|
+
# destination_routes.
|
1507
1629
|
# @param [Boolean] validate_only
|
1508
1630
|
# Optional. If set, validates request by executing a dry-run which would not
|
1509
1631
|
# alter the resource in any way.
|
@@ -1622,7 +1744,7 @@ module Google
|
|
1622
1744
|
# @param [Google::Apis::BeyondcorpV1alpha::ClientGateway] client_gateway_object
|
1623
1745
|
# @param [String] client_gateway_id
|
1624
1746
|
# Optional. User-settable client gateway resource ID. * Must start with a letter.
|
1625
|
-
# * Must contain between 4-63 characters from
|
1747
|
+
# * Must contain between 4-63 characters from `/a-z-/`. * Must end with a
|
1626
1748
|
# number or a letter.
|
1627
1749
|
# @param [String] request_id
|
1628
1750
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -1917,7 +2039,7 @@ module Google
|
|
1917
2039
|
# @param [Google::Apis::BeyondcorpV1alpha::Connection] connection_object
|
1918
2040
|
# @param [String] connection_id
|
1919
2041
|
# Optional. User-settable connection resource ID. * Must start with a letter. *
|
1920
|
-
# Must contain between 4-63 characters from
|
2042
|
+
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
1921
2043
|
# or a letter.
|
1922
2044
|
# @param [String] request_id
|
1923
2045
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -2327,7 +2449,7 @@ module Google
|
|
2327
2449
|
# @param [Google::Apis::BeyondcorpV1alpha::Connector] connector_object
|
2328
2450
|
# @param [String] connector_id
|
2329
2451
|
# Optional. User-settable connector resource ID. * Must start with a letter. *
|
2330
|
-
# Must contain between 4-63 characters from
|
2452
|
+
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
2331
2453
|
# or a letter.
|
2332
2454
|
# @param [String] request_id
|
2333
2455
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -24,7 +24,7 @@ module Google
|
|
24
24
|
# Beyondcorp Enterprise provides identity and context aware access controls for
|
25
25
|
# enterprise resources and enables zero-trust access. Using the Beyondcorp
|
26
26
|
# Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity
|
27
|
-
#
|
27
|
+
# solutions.
|
28
28
|
#
|
29
29
|
# @see https://cloud.google.com/
|
30
30
|
module BeyondcorpV1alpha
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-beyondcorp_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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: 2022-
|
11
|
+
date: 2022-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|