google-apis-networksecurity_v1beta1 0.46.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/networksecurity_v1beta1/classes.rb +327 -7
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +135 -1
- data/lib/google/apis/networksecurity_v1beta1/service.rb +329 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cdd9a9bf2755abf1721d0a109ddc6da6988a5bb1cedea222190f80124b53dce
|
4
|
+
data.tar.gz: 15fe11ca8bdc9ab57a4062316a615d14d8dfb5b1bedd490b37dee237e295e724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6d9d62dcf049e67e9dcb98812e2f41a7d401f4bd9c93de9a060336b577d1a203e6145f157c07eb81aa4fc1cd346bd685b2eb11bbaff3f4ec672d75018650aaa
|
7
|
+
data.tar.gz: 2c907815205152790b4fbcf75050094b2b55e8af0916bde1a4b40309b91af0c5712d2c54adfd4715a122ac04d582959f0fa246c1b0dd7c73bac2515d6ab053e9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-networksecurity_v1beta1
|
2
2
|
|
3
|
+
### v0.48.0 (2025-06-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250527
|
6
|
+
|
7
|
+
### v0.47.0 (2025-06-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250514
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.46.0 (2025-05-11)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250428
|
@@ -375,12 +375,11 @@ module Google
|
|
375
375
|
class AuthzPolicyAuthzRuleFromRequestSource
|
376
376
|
include Google::Apis::Core::Hashable
|
377
377
|
|
378
|
-
# Optional. A list of
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
|
383
|
-
attr_accessor :principals
|
378
|
+
# Optional. A list of IPs or CIDRs to match against the source IP of a request.
|
379
|
+
# Limited to 5 ip_blocks.
|
380
|
+
# Corresponds to the JSON property `ipBlocks`
|
381
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleIpBlock>]
|
382
|
+
attr_accessor :ip_blocks
|
384
383
|
|
385
384
|
# Optional. A list of resources to match against the resource of the source VM
|
386
385
|
# of a request. Limited to 5 resources.
|
@@ -394,7 +393,7 @@ module Google
|
|
394
393
|
|
395
394
|
# Update properties of this object
|
396
395
|
def update!(**args)
|
397
|
-
@
|
396
|
+
@ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
|
398
397
|
@resources = args[:resources] if args.key?(:resources)
|
399
398
|
end
|
400
399
|
end
|
@@ -424,6 +423,31 @@ module Google
|
|
424
423
|
end
|
425
424
|
end
|
426
425
|
|
426
|
+
# Represents a range of IP Addresses.
|
427
|
+
class AuthzPolicyAuthzRuleIpBlock
|
428
|
+
include Google::Apis::Core::Hashable
|
429
|
+
|
430
|
+
# Required. The length of the address range.
|
431
|
+
# Corresponds to the JSON property `length`
|
432
|
+
# @return [Fixnum]
|
433
|
+
attr_accessor :length
|
434
|
+
|
435
|
+
# Required. The address prefix.
|
436
|
+
# Corresponds to the JSON property `prefix`
|
437
|
+
# @return [String]
|
438
|
+
attr_accessor :prefix
|
439
|
+
|
440
|
+
def initialize(**args)
|
441
|
+
update!(**args)
|
442
|
+
end
|
443
|
+
|
444
|
+
# Update properties of this object
|
445
|
+
def update!(**args)
|
446
|
+
@length = args[:length] if args.key?(:length)
|
447
|
+
@prefix = args[:prefix] if args.key?(:prefix)
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
427
451
|
# Describes the properties of a client VM resource accessing the internal
|
428
452
|
# application load balancers.
|
429
453
|
class AuthzPolicyAuthzRuleRequestResource
|
@@ -3011,6 +3035,68 @@ module Google
|
|
3011
3035
|
end
|
3012
3036
|
end
|
3013
3037
|
|
3038
|
+
# Message for response to listing SACAttachments
|
3039
|
+
class ListSacAttachmentsResponse
|
3040
|
+
include Google::Apis::Core::Hashable
|
3041
|
+
|
3042
|
+
# A token identifying a page of results the server should return.
|
3043
|
+
# Corresponds to the JSON property `nextPageToken`
|
3044
|
+
# @return [String]
|
3045
|
+
attr_accessor :next_page_token
|
3046
|
+
|
3047
|
+
# The list of SACAttachments
|
3048
|
+
# Corresponds to the JSON property `sacAttachments`
|
3049
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::SacAttachment>]
|
3050
|
+
attr_accessor :sac_attachments
|
3051
|
+
|
3052
|
+
# Locations that could not be reached.
|
3053
|
+
# Corresponds to the JSON property `unreachable`
|
3054
|
+
# @return [Array<String>]
|
3055
|
+
attr_accessor :unreachable
|
3056
|
+
|
3057
|
+
def initialize(**args)
|
3058
|
+
update!(**args)
|
3059
|
+
end
|
3060
|
+
|
3061
|
+
# Update properties of this object
|
3062
|
+
def update!(**args)
|
3063
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3064
|
+
@sac_attachments = args[:sac_attachments] if args.key?(:sac_attachments)
|
3065
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
3066
|
+
end
|
3067
|
+
end
|
3068
|
+
|
3069
|
+
# Message for response to listing SACRealms
|
3070
|
+
class ListSacRealmsResponse
|
3071
|
+
include Google::Apis::Core::Hashable
|
3072
|
+
|
3073
|
+
# A token identifying a page of results the server should return.
|
3074
|
+
# Corresponds to the JSON property `nextPageToken`
|
3075
|
+
# @return [String]
|
3076
|
+
attr_accessor :next_page_token
|
3077
|
+
|
3078
|
+
# The list of SACRealms
|
3079
|
+
# Corresponds to the JSON property `sacRealms`
|
3080
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::SacRealm>]
|
3081
|
+
attr_accessor :sac_realms
|
3082
|
+
|
3083
|
+
# Locations that could not be reached.
|
3084
|
+
# Corresponds to the JSON property `unreachable`
|
3085
|
+
# @return [Array<String>]
|
3086
|
+
attr_accessor :unreachable
|
3087
|
+
|
3088
|
+
def initialize(**args)
|
3089
|
+
update!(**args)
|
3090
|
+
end
|
3091
|
+
|
3092
|
+
# Update properties of this object
|
3093
|
+
def update!(**args)
|
3094
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3095
|
+
@sac_realms = args[:sac_realms] if args.key?(:sac_realms)
|
3096
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
3097
|
+
end
|
3098
|
+
end
|
3099
|
+
|
3014
3100
|
# Response returned by the ListSecurityProfileGroups method.
|
3015
3101
|
class ListSecurityProfileGroupsResponse
|
3016
3102
|
include Google::Apis::Core::Hashable
|
@@ -3962,6 +4048,240 @@ module Google
|
|
3962
4048
|
end
|
3963
4049
|
end
|
3964
4050
|
|
4051
|
+
# Configuration for an attachment within a SAC realm.
|
4052
|
+
class SacAttachment
|
4053
|
+
include Google::Apis::Core::Hashable
|
4054
|
+
|
4055
|
+
# Optional. ISO-3166 alpha 2 country code used for localization. Only used for
|
4056
|
+
# Symantec's API today, and is optional even for gateways connected to Symantec,
|
4057
|
+
# since Symantec applies a default if we don't specify it. Not case-sensitive,
|
4058
|
+
# since it will be upper-cased when sending to Symantec API.
|
4059
|
+
# Corresponds to the JSON property `country`
|
4060
|
+
# @return [String]
|
4061
|
+
attr_accessor :country
|
4062
|
+
|
4063
|
+
# Output only. [Output only] Timestamp when the attachment was created.
|
4064
|
+
# Corresponds to the JSON property `createTime`
|
4065
|
+
# @return [String]
|
4066
|
+
attr_accessor :create_time
|
4067
|
+
|
4068
|
+
# Optional. Optional list of labels applied to the resource.
|
4069
|
+
# Corresponds to the JSON property `labels`
|
4070
|
+
# @return [Hash<String,String>]
|
4071
|
+
attr_accessor :labels
|
4072
|
+
|
4073
|
+
# Identifier. Resource name, in the form `projects/`project`/locations/`location`
|
4074
|
+
# /sacAttachments/`sac_attachment``.
|
4075
|
+
# Corresponds to the JSON property `name`
|
4076
|
+
# @return [String]
|
4077
|
+
attr_accessor :name
|
4078
|
+
|
4079
|
+
# Required. Name of the NCC Gateway which connects to the attachment. ID or full
|
4080
|
+
# URI can be specified. Full URI is stored either way,in the form `projects/`
|
4081
|
+
# project`/locations/`location`/spokes/`ncc_gateway``.
|
4082
|
+
# Corresponds to the JSON property `nccGateway`
|
4083
|
+
# @return [String]
|
4084
|
+
attr_accessor :ncc_gateway
|
4085
|
+
|
4086
|
+
# Required. Name of the SAC Realm which owns the attachment. The input can be
|
4087
|
+
# either an ID for a full name. The output will always be the full name using
|
4088
|
+
# project number instead of project ID. The format is `projects/`project_number`/
|
4089
|
+
# locations/`location`/sacRealms/`sac_realm``.
|
4090
|
+
# Corresponds to the JSON property `sacRealm`
|
4091
|
+
# @return [String]
|
4092
|
+
attr_accessor :sac_realm
|
4093
|
+
|
4094
|
+
# Output only. [Output only] State of the attachment.
|
4095
|
+
# Corresponds to the JSON property `state`
|
4096
|
+
# @return [String]
|
4097
|
+
attr_accessor :state
|
4098
|
+
|
4099
|
+
# Fields specific to SSEGWs connecting to Symantec Cloud SWG.
|
4100
|
+
# Corresponds to the JSON property `symantecOptions`
|
4101
|
+
# @return [Google::Apis::NetworksecurityV1beta1::SacAttachmentSacAttachmentSymantecOptions]
|
4102
|
+
attr_accessor :symantec_options
|
4103
|
+
|
4104
|
+
# Optional. tzinfo identifier used for localization. Only used for Symantec's
|
4105
|
+
# API today, and is optional even for gateways connected to Symantec, since
|
4106
|
+
# Symantec applies a default if we don't specify it. Case sensitive.
|
4107
|
+
# Corresponds to the JSON property `timeZone`
|
4108
|
+
# @return [String]
|
4109
|
+
attr_accessor :time_zone
|
4110
|
+
|
4111
|
+
# Output only. [Output only] Timestamp when the attachment was last updated.
|
4112
|
+
# Corresponds to the JSON property `updateTime`
|
4113
|
+
# @return [String]
|
4114
|
+
attr_accessor :update_time
|
4115
|
+
|
4116
|
+
def initialize(**args)
|
4117
|
+
update!(**args)
|
4118
|
+
end
|
4119
|
+
|
4120
|
+
# Update properties of this object
|
4121
|
+
def update!(**args)
|
4122
|
+
@country = args[:country] if args.key?(:country)
|
4123
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4124
|
+
@labels = args[:labels] if args.key?(:labels)
|
4125
|
+
@name = args[:name] if args.key?(:name)
|
4126
|
+
@ncc_gateway = args[:ncc_gateway] if args.key?(:ncc_gateway)
|
4127
|
+
@sac_realm = args[:sac_realm] if args.key?(:sac_realm)
|
4128
|
+
@state = args[:state] if args.key?(:state)
|
4129
|
+
@symantec_options = args[:symantec_options] if args.key?(:symantec_options)
|
4130
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
4131
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
4132
|
+
end
|
4133
|
+
end
|
4134
|
+
|
4135
|
+
# Fields specific to SSEGWs connecting to Symantec Cloud SWG.
|
4136
|
+
class SacAttachmentSacAttachmentSymantecOptions
|
4137
|
+
include Google::Apis::Core::Hashable
|
4138
|
+
|
4139
|
+
# Immutable. Name to be used for when creating a Location on the customer's
|
4140
|
+
# behalf in Symantec's Location API. Required iff sac_realm uses
|
4141
|
+
# SYMANTEC_CLOUD_SWG. Not to be confused with GCP locations.
|
4142
|
+
# Corresponds to the JSON property `symantecLocationName`
|
4143
|
+
# @return [String]
|
4144
|
+
attr_accessor :symantec_location_name
|
4145
|
+
|
4146
|
+
# Immutable. Symantec data center identifier that this Attachment will connect
|
4147
|
+
# to. Required iff sac_realm uses SYMANTEC_CLOUD_SWG.
|
4148
|
+
# Corresponds to the JSON property `symantecSite`
|
4149
|
+
# @return [String]
|
4150
|
+
attr_accessor :symantec_site
|
4151
|
+
|
4152
|
+
def initialize(**args)
|
4153
|
+
update!(**args)
|
4154
|
+
end
|
4155
|
+
|
4156
|
+
# Update properties of this object
|
4157
|
+
def update!(**args)
|
4158
|
+
@symantec_location_name = args[:symantec_location_name] if args.key?(:symantec_location_name)
|
4159
|
+
@symantec_site = args[:symantec_site] if args.key?(:symantec_site)
|
4160
|
+
end
|
4161
|
+
end
|
4162
|
+
|
4163
|
+
# Message describing SACRealm object
|
4164
|
+
class SacRealm
|
4165
|
+
include Google::Apis::Core::Hashable
|
4166
|
+
|
4167
|
+
# Output only. [Output only] Create time stamp
|
4168
|
+
# Corresponds to the JSON property `createTime`
|
4169
|
+
# @return [String]
|
4170
|
+
attr_accessor :create_time
|
4171
|
+
|
4172
|
+
# Optional. Labels as key value pairs
|
4173
|
+
# Corresponds to the JSON property `labels`
|
4174
|
+
# @return [Hash<String,String>]
|
4175
|
+
attr_accessor :labels
|
4176
|
+
|
4177
|
+
# Identifier. Resource name. It matches the pattern `projects/`project`/
|
4178
|
+
# locations/`location`/sacRealms/`sacRealm``
|
4179
|
+
# Corresponds to the JSON property `name`
|
4180
|
+
# @return [String]
|
4181
|
+
attr_accessor :name
|
4182
|
+
|
4183
|
+
# Key to be shared with SSE service provider to establish global handshake
|
4184
|
+
# Corresponds to the JSON property `pairingKey`
|
4185
|
+
# @return [Google::Apis::NetworksecurityV1beta1::SacRealmPairingKey]
|
4186
|
+
attr_accessor :pairing_key
|
4187
|
+
|
4188
|
+
# Immutable. SSE service provider
|
4189
|
+
# Corresponds to the JSON property `securityService`
|
4190
|
+
# @return [String]
|
4191
|
+
attr_accessor :security_service
|
4192
|
+
|
4193
|
+
# Output only. [Output only] State of the realm
|
4194
|
+
# Corresponds to the JSON property `state`
|
4195
|
+
# @return [String]
|
4196
|
+
attr_accessor :state
|
4197
|
+
|
4198
|
+
# Fields specific to realms using SYMANTEC_CLOUD_SWG.
|
4199
|
+
# Corresponds to the JSON property `symantecOptions`
|
4200
|
+
# @return [Google::Apis::NetworksecurityV1beta1::SacRealmSacRealmSymantecOptions]
|
4201
|
+
attr_accessor :symantec_options
|
4202
|
+
|
4203
|
+
# Output only. [Output only] Update time stamp
|
4204
|
+
# Corresponds to the JSON property `updateTime`
|
4205
|
+
# @return [String]
|
4206
|
+
attr_accessor :update_time
|
4207
|
+
|
4208
|
+
def initialize(**args)
|
4209
|
+
update!(**args)
|
4210
|
+
end
|
4211
|
+
|
4212
|
+
# Update properties of this object
|
4213
|
+
def update!(**args)
|
4214
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4215
|
+
@labels = args[:labels] if args.key?(:labels)
|
4216
|
+
@name = args[:name] if args.key?(:name)
|
4217
|
+
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
|
4218
|
+
@security_service = args[:security_service] if args.key?(:security_service)
|
4219
|
+
@state = args[:state] if args.key?(:state)
|
4220
|
+
@symantec_options = args[:symantec_options] if args.key?(:symantec_options)
|
4221
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
4222
|
+
end
|
4223
|
+
end
|
4224
|
+
|
4225
|
+
# Key to be shared with SSE service provider to establish global handshake
|
4226
|
+
class SacRealmPairingKey
|
4227
|
+
include Google::Apis::Core::Hashable
|
4228
|
+
|
4229
|
+
# Output only. Timestamp in UTC of when this resource is considered expired.
|
4230
|
+
# Corresponds to the JSON property `expireTime`
|
4231
|
+
# @return [String]
|
4232
|
+
attr_accessor :expire_time
|
4233
|
+
|
4234
|
+
# Output only. The name of the key. It expires 7 days after creation.
|
4235
|
+
# Corresponds to the JSON property `key`
|
4236
|
+
# @return [String]
|
4237
|
+
attr_accessor :key
|
4238
|
+
|
4239
|
+
def initialize(**args)
|
4240
|
+
update!(**args)
|
4241
|
+
end
|
4242
|
+
|
4243
|
+
# Update properties of this object
|
4244
|
+
def update!(**args)
|
4245
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
4246
|
+
@key = args[:key] if args.key?(:key)
|
4247
|
+
end
|
4248
|
+
end
|
4249
|
+
|
4250
|
+
# Fields specific to realms using SYMANTEC_CLOUD_SWG.
|
4251
|
+
class SacRealmSacRealmSymantecOptions
|
4252
|
+
include Google::Apis::Core::Hashable
|
4253
|
+
|
4254
|
+
# Output only. Symantec site IDs that the user can choose to connect to.
|
4255
|
+
# Corresponds to the JSON property `availableSymantecSites`
|
4256
|
+
# @return [Array<String>]
|
4257
|
+
attr_accessor :available_symantec_sites
|
4258
|
+
|
4259
|
+
# Optional. API Key used to call Symantec APIs on the user's behalf. Required if
|
4260
|
+
# using SYMANTEC_CLOUD_SWG. P4SA account needs permissions granted to read this
|
4261
|
+
# secret. A secret ID, secret name, or secret URI can be specified, but it will
|
4262
|
+
# be parsed and stored as secret URI in the format of "projects/`PROJECT_NUMBER`/
|
4263
|
+
# secrets/my-secret".
|
4264
|
+
# Corresponds to the JSON property `secretPath`
|
4265
|
+
# @return [String]
|
4266
|
+
attr_accessor :secret_path
|
4267
|
+
|
4268
|
+
# Output only. [Output only] Connection status to Symantec API.
|
4269
|
+
# Corresponds to the JSON property `symantecConnectionState`
|
4270
|
+
# @return [String]
|
4271
|
+
attr_accessor :symantec_connection_state
|
4272
|
+
|
4273
|
+
def initialize(**args)
|
4274
|
+
update!(**args)
|
4275
|
+
end
|
4276
|
+
|
4277
|
+
# Update properties of this object
|
4278
|
+
def update!(**args)
|
4279
|
+
@available_symantec_sites = args[:available_symantec_sites] if args.key?(:available_symantec_sites)
|
4280
|
+
@secret_path = args[:secret_path] if args.key?(:secret_path)
|
4281
|
+
@symantec_connection_state = args[:symantec_connection_state] if args.key?(:symantec_connection_state)
|
4282
|
+
end
|
4283
|
+
end
|
4284
|
+
|
3965
4285
|
# SecurityProfile is a resource that defines the behavior for one of many
|
3966
4286
|
# ProfileTypes.
|
3967
4287
|
class SecurityProfile
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworksecurityV1beta1
|
18
18
|
# Version of the google-apis-networksecurity_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.48.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250527"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class AuthzPolicyAuthzRuleIpBlock
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class AuthzPolicyAuthzRuleRequestResource
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -472,6 +478,18 @@ module Google
|
|
472
478
|
include Google::Apis::Core::JsonObjectSupport
|
473
479
|
end
|
474
480
|
|
481
|
+
class ListSacAttachmentsResponse
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
487
|
+
class ListSacRealmsResponse
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
475
493
|
class ListSecurityProfileGroupsResponse
|
476
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
495
|
|
@@ -598,6 +616,36 @@ module Google
|
|
598
616
|
include Google::Apis::Core::JsonObjectSupport
|
599
617
|
end
|
600
618
|
|
619
|
+
class SacAttachment
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
625
|
+
class SacAttachmentSacAttachmentSymantecOptions
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
631
|
+
class SacRealm
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
+
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
635
|
+
end
|
636
|
+
|
637
|
+
class SacRealmPairingKey
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
|
+
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
641
|
+
end
|
642
|
+
|
643
|
+
class SacRealmSacRealmSymantecOptions
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
601
649
|
class SecurityProfile
|
602
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
651
|
|
@@ -752,7 +800,7 @@ module Google
|
|
752
800
|
class AuthzPolicyAuthzRuleFromRequestSource
|
753
801
|
# @private
|
754
802
|
class Representation < Google::Apis::Core::JsonRepresentation
|
755
|
-
collection :
|
803
|
+
collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleIpBlock, decorator: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleIpBlock::Representation
|
756
804
|
|
757
805
|
collection :resources, as: 'resources', class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleRequestResource, decorator: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleRequestResource::Representation
|
758
806
|
|
@@ -768,6 +816,14 @@ module Google
|
|
768
816
|
end
|
769
817
|
end
|
770
818
|
|
819
|
+
class AuthzPolicyAuthzRuleIpBlock
|
820
|
+
# @private
|
821
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
822
|
+
property :length, as: 'length'
|
823
|
+
property :prefix, as: 'prefix'
|
824
|
+
end
|
825
|
+
end
|
826
|
+
|
771
827
|
class AuthzPolicyAuthzRuleRequestResource
|
772
828
|
# @private
|
773
829
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1426,6 +1482,26 @@ module Google
|
|
1426
1482
|
end
|
1427
1483
|
end
|
1428
1484
|
|
1485
|
+
class ListSacAttachmentsResponse
|
1486
|
+
# @private
|
1487
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1488
|
+
property :next_page_token, as: 'nextPageToken'
|
1489
|
+
collection :sac_attachments, as: 'sacAttachments', class: Google::Apis::NetworksecurityV1beta1::SacAttachment, decorator: Google::Apis::NetworksecurityV1beta1::SacAttachment::Representation
|
1490
|
+
|
1491
|
+
collection :unreachable, as: 'unreachable'
|
1492
|
+
end
|
1493
|
+
end
|
1494
|
+
|
1495
|
+
class ListSacRealmsResponse
|
1496
|
+
# @private
|
1497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1498
|
+
property :next_page_token, as: 'nextPageToken'
|
1499
|
+
collection :sac_realms, as: 'sacRealms', class: Google::Apis::NetworksecurityV1beta1::SacRealm, decorator: Google::Apis::NetworksecurityV1beta1::SacRealm::Representation
|
1500
|
+
|
1501
|
+
collection :unreachable, as: 'unreachable'
|
1502
|
+
end
|
1503
|
+
end
|
1504
|
+
|
1429
1505
|
class ListSecurityProfileGroupsResponse
|
1430
1506
|
# @private
|
1431
1507
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1658,6 +1734,64 @@ module Google
|
|
1658
1734
|
end
|
1659
1735
|
end
|
1660
1736
|
|
1737
|
+
class SacAttachment
|
1738
|
+
# @private
|
1739
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1740
|
+
property :country, as: 'country'
|
1741
|
+
property :create_time, as: 'createTime'
|
1742
|
+
hash :labels, as: 'labels'
|
1743
|
+
property :name, as: 'name'
|
1744
|
+
property :ncc_gateway, as: 'nccGateway'
|
1745
|
+
property :sac_realm, as: 'sacRealm'
|
1746
|
+
property :state, as: 'state'
|
1747
|
+
property :symantec_options, as: 'symantecOptions', class: Google::Apis::NetworksecurityV1beta1::SacAttachmentSacAttachmentSymantecOptions, decorator: Google::Apis::NetworksecurityV1beta1::SacAttachmentSacAttachmentSymantecOptions::Representation
|
1748
|
+
|
1749
|
+
property :time_zone, as: 'timeZone'
|
1750
|
+
property :update_time, as: 'updateTime'
|
1751
|
+
end
|
1752
|
+
end
|
1753
|
+
|
1754
|
+
class SacAttachmentSacAttachmentSymantecOptions
|
1755
|
+
# @private
|
1756
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1757
|
+
property :symantec_location_name, as: 'symantecLocationName'
|
1758
|
+
property :symantec_site, as: 'symantecSite'
|
1759
|
+
end
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
class SacRealm
|
1763
|
+
# @private
|
1764
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1765
|
+
property :create_time, as: 'createTime'
|
1766
|
+
hash :labels, as: 'labels'
|
1767
|
+
property :name, as: 'name'
|
1768
|
+
property :pairing_key, as: 'pairingKey', class: Google::Apis::NetworksecurityV1beta1::SacRealmPairingKey, decorator: Google::Apis::NetworksecurityV1beta1::SacRealmPairingKey::Representation
|
1769
|
+
|
1770
|
+
property :security_service, as: 'securityService'
|
1771
|
+
property :state, as: 'state'
|
1772
|
+
property :symantec_options, as: 'symantecOptions', class: Google::Apis::NetworksecurityV1beta1::SacRealmSacRealmSymantecOptions, decorator: Google::Apis::NetworksecurityV1beta1::SacRealmSacRealmSymantecOptions::Representation
|
1773
|
+
|
1774
|
+
property :update_time, as: 'updateTime'
|
1775
|
+
end
|
1776
|
+
end
|
1777
|
+
|
1778
|
+
class SacRealmPairingKey
|
1779
|
+
# @private
|
1780
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1781
|
+
property :expire_time, as: 'expireTime'
|
1782
|
+
property :key, as: 'key'
|
1783
|
+
end
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
class SacRealmSacRealmSymantecOptions
|
1787
|
+
# @private
|
1788
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1789
|
+
collection :available_symantec_sites, as: 'availableSymantecSites'
|
1790
|
+
property :secret_path, as: 'secretPath'
|
1791
|
+
property :symantec_connection_state, as: 'symantecConnectionState'
|
1792
|
+
end
|
1793
|
+
end
|
1794
|
+
|
1661
1795
|
class SecurityProfile
|
1662
1796
|
# @private
|
1663
1797
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5250,6 +5250,335 @@ module Google
|
|
5250
5250
|
execute_or_queue_command(command, &block)
|
5251
5251
|
end
|
5252
5252
|
|
5253
|
+
# Creates a new SACAttachment in a given project and location.
|
5254
|
+
# @param [String] parent
|
5255
|
+
# Required. Value for parent.
|
5256
|
+
# @param [Google::Apis::NetworksecurityV1beta1::SacAttachment] sac_attachment_object
|
5257
|
+
# @param [String] request_id
|
5258
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
5259
|
+
# request ID so that if you must retry your request, the server will know to
|
5260
|
+
# ignore the request if it has already been completed. The server will guarantee
|
5261
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
5262
|
+
# situation where you make an initial request and the request times out. If you
|
5263
|
+
# make the request again with the same request ID, the server can check if
|
5264
|
+
# original operation with the same request ID was received, and if so, will
|
5265
|
+
# ignore the second request. This prevents clients from accidentally creating
|
5266
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
5267
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
5268
|
+
# @param [String] sac_attachment_id
|
5269
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
5270
|
+
# remove this field and sac_attachment_id from the method_signature of Create
|
5271
|
+
# RPC
|
5272
|
+
# @param [String] fields
|
5273
|
+
# Selector specifying which fields to include in a partial response.
|
5274
|
+
# @param [String] quota_user
|
5275
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5276
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5277
|
+
# @param [Google::Apis::RequestOptions] options
|
5278
|
+
# Request-specific options
|
5279
|
+
#
|
5280
|
+
# @yield [result, err] Result & error if block supplied
|
5281
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
5282
|
+
# @yieldparam err [StandardError] error object if request failed
|
5283
|
+
#
|
5284
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
5285
|
+
#
|
5286
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5287
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5288
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5289
|
+
def create_project_location_sac_attachment(parent, sac_attachment_object = nil, request_id: nil, sac_attachment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5290
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/sacAttachments', options)
|
5291
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::SacAttachment::Representation
|
5292
|
+
command.request_object = sac_attachment_object
|
5293
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
5294
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
5295
|
+
command.params['parent'] = parent unless parent.nil?
|
5296
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
5297
|
+
command.query['sacAttachmentId'] = sac_attachment_id unless sac_attachment_id.nil?
|
5298
|
+
command.query['fields'] = fields unless fields.nil?
|
5299
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5300
|
+
execute_or_queue_command(command, &block)
|
5301
|
+
end
|
5302
|
+
|
5303
|
+
# Deletes a single SACAttachment.
|
5304
|
+
# @param [String] name
|
5305
|
+
# Required. Name of the resource
|
5306
|
+
# @param [String] request_id
|
5307
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
5308
|
+
# request ID so that if you must retry your request, the server will know to
|
5309
|
+
# ignore the request if it has already been completed. The server will guarantee
|
5310
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
5311
|
+
# situation where you make an initial request and the request times out. If you
|
5312
|
+
# make the request again with the same request ID, the server can check if
|
5313
|
+
# original operation with the same request ID was received, and if so, will
|
5314
|
+
# ignore the second request. This prevents clients from accidentally creating
|
5315
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
5316
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
5317
|
+
# @param [String] fields
|
5318
|
+
# Selector specifying which fields to include in a partial response.
|
5319
|
+
# @param [String] quota_user
|
5320
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5321
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5322
|
+
# @param [Google::Apis::RequestOptions] options
|
5323
|
+
# Request-specific options
|
5324
|
+
#
|
5325
|
+
# @yield [result, err] Result & error if block supplied
|
5326
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
5327
|
+
# @yieldparam err [StandardError] error object if request failed
|
5328
|
+
#
|
5329
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
5330
|
+
#
|
5331
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5332
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5333
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5334
|
+
def delete_project_location_sac_attachment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5335
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
5336
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
5337
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
5338
|
+
command.params['name'] = name unless name.nil?
|
5339
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
5340
|
+
command.query['fields'] = fields unless fields.nil?
|
5341
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5342
|
+
execute_or_queue_command(command, &block)
|
5343
|
+
end
|
5344
|
+
|
5345
|
+
# Gets details of a single SACAttachment.
|
5346
|
+
# @param [String] name
|
5347
|
+
# Required. Name of the resource
|
5348
|
+
# @param [String] fields
|
5349
|
+
# Selector specifying which fields to include in a partial response.
|
5350
|
+
# @param [String] quota_user
|
5351
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5352
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5353
|
+
# @param [Google::Apis::RequestOptions] options
|
5354
|
+
# Request-specific options
|
5355
|
+
#
|
5356
|
+
# @yield [result, err] Result & error if block supplied
|
5357
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::SacAttachment] parsed result object
|
5358
|
+
# @yieldparam err [StandardError] error object if request failed
|
5359
|
+
#
|
5360
|
+
# @return [Google::Apis::NetworksecurityV1beta1::SacAttachment]
|
5361
|
+
#
|
5362
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5363
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5364
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5365
|
+
def get_project_location_sac_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
|
5366
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
5367
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::SacAttachment::Representation
|
5368
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::SacAttachment
|
5369
|
+
command.params['name'] = name unless name.nil?
|
5370
|
+
command.query['fields'] = fields unless fields.nil?
|
5371
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5372
|
+
execute_or_queue_command(command, &block)
|
5373
|
+
end
|
5374
|
+
|
5375
|
+
# Lists SACAttachments in a given project and location.
|
5376
|
+
# @param [String] parent
|
5377
|
+
# Required. Parent value for ListSACAttachmentsRequest
|
5378
|
+
# @param [String] filter
|
5379
|
+
# Optional. Filtering results
|
5380
|
+
# @param [String] order_by
|
5381
|
+
# Optional. Hint for how to order the results
|
5382
|
+
# @param [Fixnum] page_size
|
5383
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
5384
|
+
# If unspecified, server will pick an appropriate default.
|
5385
|
+
# @param [String] page_token
|
5386
|
+
# Optional. A token identifying a page of results the server should return.
|
5387
|
+
# @param [String] fields
|
5388
|
+
# Selector specifying which fields to include in a partial response.
|
5389
|
+
# @param [String] quota_user
|
5390
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5391
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5392
|
+
# @param [Google::Apis::RequestOptions] options
|
5393
|
+
# Request-specific options
|
5394
|
+
#
|
5395
|
+
# @yield [result, err] Result & error if block supplied
|
5396
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListSacAttachmentsResponse] parsed result object
|
5397
|
+
# @yieldparam err [StandardError] error object if request failed
|
5398
|
+
#
|
5399
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListSacAttachmentsResponse]
|
5400
|
+
#
|
5401
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5402
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5403
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5404
|
+
def list_project_location_sac_attachments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5405
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/sacAttachments', options)
|
5406
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListSacAttachmentsResponse::Representation
|
5407
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListSacAttachmentsResponse
|
5408
|
+
command.params['parent'] = parent unless parent.nil?
|
5409
|
+
command.query['filter'] = filter unless filter.nil?
|
5410
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
5411
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
5412
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5413
|
+
command.query['fields'] = fields unless fields.nil?
|
5414
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5415
|
+
execute_or_queue_command(command, &block)
|
5416
|
+
end
|
5417
|
+
|
5418
|
+
# Creates a new SACRealm in a given project.
|
5419
|
+
# @param [String] parent
|
5420
|
+
# Required. Value for parent.
|
5421
|
+
# @param [Google::Apis::NetworksecurityV1beta1::SacRealm] sac_realm_object
|
5422
|
+
# @param [String] request_id
|
5423
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
5424
|
+
# request ID so that if you must retry your request, the server will know to
|
5425
|
+
# ignore the request if it has already been completed. The server will guarantee
|
5426
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
5427
|
+
# situation where you make an initial request and the request times out. If you
|
5428
|
+
# make the request again with the same request ID, the server can check if
|
5429
|
+
# original operation with the same request ID was received, and if so, will
|
5430
|
+
# ignore the second request. This prevents clients from accidentally creating
|
5431
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
5432
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
5433
|
+
# @param [String] sac_realm_id
|
5434
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
5435
|
+
# remove this field and sac_realm_id from the method_signature of Create RPC
|
5436
|
+
# @param [String] fields
|
5437
|
+
# Selector specifying which fields to include in a partial response.
|
5438
|
+
# @param [String] quota_user
|
5439
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5440
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5441
|
+
# @param [Google::Apis::RequestOptions] options
|
5442
|
+
# Request-specific options
|
5443
|
+
#
|
5444
|
+
# @yield [result, err] Result & error if block supplied
|
5445
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
5446
|
+
# @yieldparam err [StandardError] error object if request failed
|
5447
|
+
#
|
5448
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
5449
|
+
#
|
5450
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5451
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5452
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5453
|
+
def create_project_location_sac_realm(parent, sac_realm_object = nil, request_id: nil, sac_realm_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5454
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/sacRealms', options)
|
5455
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::SacRealm::Representation
|
5456
|
+
command.request_object = sac_realm_object
|
5457
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
5458
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
5459
|
+
command.params['parent'] = parent unless parent.nil?
|
5460
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
5461
|
+
command.query['sacRealmId'] = sac_realm_id unless sac_realm_id.nil?
|
5462
|
+
command.query['fields'] = fields unless fields.nil?
|
5463
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5464
|
+
execute_or_queue_command(command, &block)
|
5465
|
+
end
|
5466
|
+
|
5467
|
+
# Deletes a single SACRealm.
|
5468
|
+
# @param [String] name
|
5469
|
+
# Required. Name of the resource
|
5470
|
+
# @param [String] request_id
|
5471
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
5472
|
+
# request ID so that if you must retry your request, the server will know to
|
5473
|
+
# ignore the request if it has already been completed. The server will guarantee
|
5474
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
5475
|
+
# situation where you make an initial request and the request times out. If you
|
5476
|
+
# make the request again with the same request ID, the server can check if
|
5477
|
+
# original operation with the same request ID was received, and if so, will
|
5478
|
+
# ignore the second request. This prevents clients from accidentally creating
|
5479
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
5480
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
5481
|
+
# @param [String] fields
|
5482
|
+
# Selector specifying which fields to include in a partial response.
|
5483
|
+
# @param [String] quota_user
|
5484
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5485
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5486
|
+
# @param [Google::Apis::RequestOptions] options
|
5487
|
+
# Request-specific options
|
5488
|
+
#
|
5489
|
+
# @yield [result, err] Result & error if block supplied
|
5490
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
5491
|
+
# @yieldparam err [StandardError] error object if request failed
|
5492
|
+
#
|
5493
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
5494
|
+
#
|
5495
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5496
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5497
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5498
|
+
def delete_project_location_sac_realm(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5499
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
5500
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
5501
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
5502
|
+
command.params['name'] = name unless name.nil?
|
5503
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
5504
|
+
command.query['fields'] = fields unless fields.nil?
|
5505
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5506
|
+
execute_or_queue_command(command, &block)
|
5507
|
+
end
|
5508
|
+
|
5509
|
+
# Gets details of a single SACRealm.
|
5510
|
+
# @param [String] name
|
5511
|
+
# Required. Name of the resource
|
5512
|
+
# @param [String] fields
|
5513
|
+
# Selector specifying which fields to include in a partial response.
|
5514
|
+
# @param [String] quota_user
|
5515
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5516
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5517
|
+
# @param [Google::Apis::RequestOptions] options
|
5518
|
+
# Request-specific options
|
5519
|
+
#
|
5520
|
+
# @yield [result, err] Result & error if block supplied
|
5521
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::SacRealm] parsed result object
|
5522
|
+
# @yieldparam err [StandardError] error object if request failed
|
5523
|
+
#
|
5524
|
+
# @return [Google::Apis::NetworksecurityV1beta1::SacRealm]
|
5525
|
+
#
|
5526
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5527
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5528
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5529
|
+
def get_project_location_sac_realm(name, fields: nil, quota_user: nil, options: nil, &block)
|
5530
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
5531
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::SacRealm::Representation
|
5532
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::SacRealm
|
5533
|
+
command.params['name'] = name unless name.nil?
|
5534
|
+
command.query['fields'] = fields unless fields.nil?
|
5535
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5536
|
+
execute_or_queue_command(command, &block)
|
5537
|
+
end
|
5538
|
+
|
5539
|
+
# Lists SACRealms in a given project.
|
5540
|
+
# @param [String] parent
|
5541
|
+
# Required. Parent value for ListSACRealmsRequest
|
5542
|
+
# @param [String] filter
|
5543
|
+
# Optional. Filtering results
|
5544
|
+
# @param [String] order_by
|
5545
|
+
# Optional. Hint for how to order the results
|
5546
|
+
# @param [Fixnum] page_size
|
5547
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
5548
|
+
# If unspecified, server will pick an appropriate default.
|
5549
|
+
# @param [String] page_token
|
5550
|
+
# Optional. A token identifying a page of results the server should return.
|
5551
|
+
# @param [String] fields
|
5552
|
+
# Selector specifying which fields to include in a partial response.
|
5553
|
+
# @param [String] quota_user
|
5554
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5555
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5556
|
+
# @param [Google::Apis::RequestOptions] options
|
5557
|
+
# Request-specific options
|
5558
|
+
#
|
5559
|
+
# @yield [result, err] Result & error if block supplied
|
5560
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListSacRealmsResponse] parsed result object
|
5561
|
+
# @yieldparam err [StandardError] error object if request failed
|
5562
|
+
#
|
5563
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListSacRealmsResponse]
|
5564
|
+
#
|
5565
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5566
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5567
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5568
|
+
def list_project_location_sac_realms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5569
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/sacRealms', options)
|
5570
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListSacRealmsResponse::Representation
|
5571
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListSacRealmsResponse
|
5572
|
+
command.params['parent'] = parent unless parent.nil?
|
5573
|
+
command.query['filter'] = filter unless filter.nil?
|
5574
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
5575
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
5576
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5577
|
+
command.query['fields'] = fields unless fields.nil?
|
5578
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5579
|
+
execute_or_queue_command(command, &block)
|
5580
|
+
end
|
5581
|
+
|
5253
5582
|
# Creates a new ServerTlsPolicy in a given project and location.
|
5254
5583
|
# @param [String] parent
|
5255
5584
|
# Required. The parent resource of the ServerTlsPolicy. Must be in the format `
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networksecurity_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.48.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Network Security API V1beta1
|
79
79
|
test_files: []
|