google-apis-networksecurity_v1beta1 0.46.0 → 0.47.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 +5 -0
- data/lib/google/apis/networksecurity_v1beta1/classes.rb +294 -8
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +120 -2
- 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: ec320a0c28d7b308708b66c8c0d279581bac9fe172f809808513c0c9e478c672
|
4
|
+
data.tar.gz: 820cda43f81bc5348585ee532f3b03c143b97b0521dbdd7c9f704a1af6c1ceee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1df04a328274761939612c9939cce00fed393bee114ed90d0b46b2fea3c5fc07b644f1acf875365e6584944d88d4b7fe2909cba1f4e7774fa4eea0d44df82fc
|
7
|
+
data.tar.gz: 27c1f0f3e032855975e32cd5f4c432aa1eeda604adb7b549df73110df5a59807390a0a599dd5f47dec82e5dbc44e8ac721ae07425056877c63b51f032cd4de5c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-networksecurity_v1beta1
|
2
2
|
|
3
|
+
### v0.47.0 (2025-06-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250514
|
6
|
+
* Regenerated using generator version 0.18.0
|
7
|
+
|
3
8
|
### v0.46.0 (2025-05-11)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250428
|
@@ -375,13 +375,6 @@ module Google
|
|
375
375
|
class AuthzPolicyAuthzRuleFromRequestSource
|
376
376
|
include Google::Apis::Core::Hashable
|
377
377
|
|
378
|
-
# Optional. A list of identities derived from the client's certificate. This
|
379
|
-
# field is under development and we don't recommend using it at this time.
|
380
|
-
# Limited to 5 principals.
|
381
|
-
# Corresponds to the JSON property `principals`
|
382
|
-
# @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleStringMatch>]
|
383
|
-
attr_accessor :principals
|
384
|
-
|
385
378
|
# Optional. A list of resources to match against the resource of the source VM
|
386
379
|
# of a request. Limited to 5 resources.
|
387
380
|
# Corresponds to the JSON property `resources`
|
@@ -394,7 +387,6 @@ module Google
|
|
394
387
|
|
395
388
|
# Update properties of this object
|
396
389
|
def update!(**args)
|
397
|
-
@principals = args[:principals] if args.key?(:principals)
|
398
390
|
@resources = args[:resources] if args.key?(:resources)
|
399
391
|
end
|
400
392
|
end
|
@@ -3011,6 +3003,68 @@ module Google
|
|
3011
3003
|
end
|
3012
3004
|
end
|
3013
3005
|
|
3006
|
+
# Message for response to listing SACAttachments
|
3007
|
+
class ListSacAttachmentsResponse
|
3008
|
+
include Google::Apis::Core::Hashable
|
3009
|
+
|
3010
|
+
# A token identifying a page of results the server should return.
|
3011
|
+
# Corresponds to the JSON property `nextPageToken`
|
3012
|
+
# @return [String]
|
3013
|
+
attr_accessor :next_page_token
|
3014
|
+
|
3015
|
+
# The list of SACAttachments
|
3016
|
+
# Corresponds to the JSON property `sacAttachments`
|
3017
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::SacAttachment>]
|
3018
|
+
attr_accessor :sac_attachments
|
3019
|
+
|
3020
|
+
# Locations that could not be reached.
|
3021
|
+
# Corresponds to the JSON property `unreachable`
|
3022
|
+
# @return [Array<String>]
|
3023
|
+
attr_accessor :unreachable
|
3024
|
+
|
3025
|
+
def initialize(**args)
|
3026
|
+
update!(**args)
|
3027
|
+
end
|
3028
|
+
|
3029
|
+
# Update properties of this object
|
3030
|
+
def update!(**args)
|
3031
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3032
|
+
@sac_attachments = args[:sac_attachments] if args.key?(:sac_attachments)
|
3033
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
3034
|
+
end
|
3035
|
+
end
|
3036
|
+
|
3037
|
+
# Message for response to listing SACRealms
|
3038
|
+
class ListSacRealmsResponse
|
3039
|
+
include Google::Apis::Core::Hashable
|
3040
|
+
|
3041
|
+
# A token identifying a page of results the server should return.
|
3042
|
+
# Corresponds to the JSON property `nextPageToken`
|
3043
|
+
# @return [String]
|
3044
|
+
attr_accessor :next_page_token
|
3045
|
+
|
3046
|
+
# The list of SACRealms
|
3047
|
+
# Corresponds to the JSON property `sacRealms`
|
3048
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::SacRealm>]
|
3049
|
+
attr_accessor :sac_realms
|
3050
|
+
|
3051
|
+
# Locations that could not be reached.
|
3052
|
+
# Corresponds to the JSON property `unreachable`
|
3053
|
+
# @return [Array<String>]
|
3054
|
+
attr_accessor :unreachable
|
3055
|
+
|
3056
|
+
def initialize(**args)
|
3057
|
+
update!(**args)
|
3058
|
+
end
|
3059
|
+
|
3060
|
+
# Update properties of this object
|
3061
|
+
def update!(**args)
|
3062
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3063
|
+
@sac_realms = args[:sac_realms] if args.key?(:sac_realms)
|
3064
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
3065
|
+
end
|
3066
|
+
end
|
3067
|
+
|
3014
3068
|
# Response returned by the ListSecurityProfileGroups method.
|
3015
3069
|
class ListSecurityProfileGroupsResponse
|
3016
3070
|
include Google::Apis::Core::Hashable
|
@@ -3962,6 +4016,238 @@ module Google
|
|
3962
4016
|
end
|
3963
4017
|
end
|
3964
4018
|
|
4019
|
+
# Configuration for an attachment within a SAC realm.
|
4020
|
+
class SacAttachment
|
4021
|
+
include Google::Apis::Core::Hashable
|
4022
|
+
|
4023
|
+
# Optional. ISO-3166 alpha 2 country code used for localization. Only used for
|
4024
|
+
# Symantec's API today, and is optional even for gateways connected to Symantec,
|
4025
|
+
# since Symantec applies a default if we don't specify it. Not case-sensitive,
|
4026
|
+
# since it will be upper-cased when sending to Symantec API.
|
4027
|
+
# Corresponds to the JSON property `country`
|
4028
|
+
# @return [String]
|
4029
|
+
attr_accessor :country
|
4030
|
+
|
4031
|
+
# Output only. [Output only] Timestamp when the attachment was created.
|
4032
|
+
# Corresponds to the JSON property `createTime`
|
4033
|
+
# @return [String]
|
4034
|
+
attr_accessor :create_time
|
4035
|
+
|
4036
|
+
# Optional. Optional list of labels applied to the resource.
|
4037
|
+
# Corresponds to the JSON property `labels`
|
4038
|
+
# @return [Hash<String,String>]
|
4039
|
+
attr_accessor :labels
|
4040
|
+
|
4041
|
+
# Identifier. Resource name, in the form `projects/`project`/locations/`location`
|
4042
|
+
# /sacAttachments/`sac_attachment``.
|
4043
|
+
# Corresponds to the JSON property `name`
|
4044
|
+
# @return [String]
|
4045
|
+
attr_accessor :name
|
4046
|
+
|
4047
|
+
# Required. Name of the NCC Gateway which connects to the attachment. ID or full
|
4048
|
+
# URI can be specified. Full URI is stored either way,in the form `projects/`
|
4049
|
+
# project`/locations/`location`/spokes/`ncc_gateway``.
|
4050
|
+
# Corresponds to the JSON property `nccGateway`
|
4051
|
+
# @return [String]
|
4052
|
+
attr_accessor :ncc_gateway
|
4053
|
+
|
4054
|
+
# Required. Name of the SAC Realm which owns the attachment. The input can be
|
4055
|
+
# either an ID for a full name. The output will always be the full name using
|
4056
|
+
# project number instead of project ID. The format is `projects/`project_number`/
|
4057
|
+
# locations/`location`/sacRealms/`sac_realm``.
|
4058
|
+
# Corresponds to the JSON property `sacRealm`
|
4059
|
+
# @return [String]
|
4060
|
+
attr_accessor :sac_realm
|
4061
|
+
|
4062
|
+
# Output only. [Output only] State of the attachment.
|
4063
|
+
# Corresponds to the JSON property `state`
|
4064
|
+
# @return [String]
|
4065
|
+
attr_accessor :state
|
4066
|
+
|
4067
|
+
# Fields specific to SSEGWs connecting to Symantec Cloud SWG.
|
4068
|
+
# Corresponds to the JSON property `symantecOptions`
|
4069
|
+
# @return [Google::Apis::NetworksecurityV1beta1::SacAttachmentSacAttachmentSymantecOptions]
|
4070
|
+
attr_accessor :symantec_options
|
4071
|
+
|
4072
|
+
# Optional. tzinfo identifier used for localization. Only used for Symantec's
|
4073
|
+
# API today, and is optional even for gateways connected to Symantec, since
|
4074
|
+
# Symantec applies a default if we don't specify it. Case sensitive.
|
4075
|
+
# Corresponds to the JSON property `timeZone`
|
4076
|
+
# @return [String]
|
4077
|
+
attr_accessor :time_zone
|
4078
|
+
|
4079
|
+
# Output only. [Output only] Timestamp when the attachment was last updated.
|
4080
|
+
# Corresponds to the JSON property `updateTime`
|
4081
|
+
# @return [String]
|
4082
|
+
attr_accessor :update_time
|
4083
|
+
|
4084
|
+
def initialize(**args)
|
4085
|
+
update!(**args)
|
4086
|
+
end
|
4087
|
+
|
4088
|
+
# Update properties of this object
|
4089
|
+
def update!(**args)
|
4090
|
+
@country = args[:country] if args.key?(:country)
|
4091
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4092
|
+
@labels = args[:labels] if args.key?(:labels)
|
4093
|
+
@name = args[:name] if args.key?(:name)
|
4094
|
+
@ncc_gateway = args[:ncc_gateway] if args.key?(:ncc_gateway)
|
4095
|
+
@sac_realm = args[:sac_realm] if args.key?(:sac_realm)
|
4096
|
+
@state = args[:state] if args.key?(:state)
|
4097
|
+
@symantec_options = args[:symantec_options] if args.key?(:symantec_options)
|
4098
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
4099
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
4100
|
+
end
|
4101
|
+
end
|
4102
|
+
|
4103
|
+
# Fields specific to SSEGWs connecting to Symantec Cloud SWG.
|
4104
|
+
class SacAttachmentSacAttachmentSymantecOptions
|
4105
|
+
include Google::Apis::Core::Hashable
|
4106
|
+
|
4107
|
+
# Immutable. Name to be used for when creating a Location on the customer's
|
4108
|
+
# behalf in Symantec's Location API. Required iff sac_realm uses
|
4109
|
+
# SYMANTEC_CLOUD_SWG. Not to be confused with GCP locations.
|
4110
|
+
# Corresponds to the JSON property `symantecLocationName`
|
4111
|
+
# @return [String]
|
4112
|
+
attr_accessor :symantec_location_name
|
4113
|
+
|
4114
|
+
# Immutable. Symantec data center identifier that this Attachment will connect
|
4115
|
+
# to. Required iff sac_realm uses SYMANTEC_CLOUD_SWG.
|
4116
|
+
# Corresponds to the JSON property `symantecSite`
|
4117
|
+
# @return [String]
|
4118
|
+
attr_accessor :symantec_site
|
4119
|
+
|
4120
|
+
def initialize(**args)
|
4121
|
+
update!(**args)
|
4122
|
+
end
|
4123
|
+
|
4124
|
+
# Update properties of this object
|
4125
|
+
def update!(**args)
|
4126
|
+
@symantec_location_name = args[:symantec_location_name] if args.key?(:symantec_location_name)
|
4127
|
+
@symantec_site = args[:symantec_site] if args.key?(:symantec_site)
|
4128
|
+
end
|
4129
|
+
end
|
4130
|
+
|
4131
|
+
# Message describing SACRealm object
|
4132
|
+
class SacRealm
|
4133
|
+
include Google::Apis::Core::Hashable
|
4134
|
+
|
4135
|
+
# Output only. [Output only] Create time stamp
|
4136
|
+
# Corresponds to the JSON property `createTime`
|
4137
|
+
# @return [String]
|
4138
|
+
attr_accessor :create_time
|
4139
|
+
|
4140
|
+
# Optional. Labels as key value pairs
|
4141
|
+
# Corresponds to the JSON property `labels`
|
4142
|
+
# @return [Hash<String,String>]
|
4143
|
+
attr_accessor :labels
|
4144
|
+
|
4145
|
+
# Identifier. Resource name. It matches the pattern `projects/`project`/
|
4146
|
+
# locations/`location`/sacRealms/`sacRealm``
|
4147
|
+
# Corresponds to the JSON property `name`
|
4148
|
+
# @return [String]
|
4149
|
+
attr_accessor :name
|
4150
|
+
|
4151
|
+
# Key to be shared with SSE service provider to establish global handshake
|
4152
|
+
# Corresponds to the JSON property `pairingKey`
|
4153
|
+
# @return [Google::Apis::NetworksecurityV1beta1::SacRealmPairingKey]
|
4154
|
+
attr_accessor :pairing_key
|
4155
|
+
|
4156
|
+
# Immutable. SSE service provider
|
4157
|
+
# Corresponds to the JSON property `securityService`
|
4158
|
+
# @return [String]
|
4159
|
+
attr_accessor :security_service
|
4160
|
+
|
4161
|
+
# Output only. [Output only] State of the realm
|
4162
|
+
# Corresponds to the JSON property `state`
|
4163
|
+
# @return [String]
|
4164
|
+
attr_accessor :state
|
4165
|
+
|
4166
|
+
# Fields specific to realms using SYMANTEC_CLOUD_SWG.
|
4167
|
+
# Corresponds to the JSON property `symantecOptions`
|
4168
|
+
# @return [Google::Apis::NetworksecurityV1beta1::SacRealmSacRealmSymantecOptions]
|
4169
|
+
attr_accessor :symantec_options
|
4170
|
+
|
4171
|
+
# Output only. [Output only] Update time stamp
|
4172
|
+
# Corresponds to the JSON property `updateTime`
|
4173
|
+
# @return [String]
|
4174
|
+
attr_accessor :update_time
|
4175
|
+
|
4176
|
+
def initialize(**args)
|
4177
|
+
update!(**args)
|
4178
|
+
end
|
4179
|
+
|
4180
|
+
# Update properties of this object
|
4181
|
+
def update!(**args)
|
4182
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4183
|
+
@labels = args[:labels] if args.key?(:labels)
|
4184
|
+
@name = args[:name] if args.key?(:name)
|
4185
|
+
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
|
4186
|
+
@security_service = args[:security_service] if args.key?(:security_service)
|
4187
|
+
@state = args[:state] if args.key?(:state)
|
4188
|
+
@symantec_options = args[:symantec_options] if args.key?(:symantec_options)
|
4189
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
4190
|
+
end
|
4191
|
+
end
|
4192
|
+
|
4193
|
+
# Key to be shared with SSE service provider to establish global handshake
|
4194
|
+
class SacRealmPairingKey
|
4195
|
+
include Google::Apis::Core::Hashable
|
4196
|
+
|
4197
|
+
# Output only. Timestamp in UTC of when this resource is considered expired.
|
4198
|
+
# Corresponds to the JSON property `expireTime`
|
4199
|
+
# @return [String]
|
4200
|
+
attr_accessor :expire_time
|
4201
|
+
|
4202
|
+
# Output only. The name of the key. It expires 7 days after creation.
|
4203
|
+
# Corresponds to the JSON property `key`
|
4204
|
+
# @return [String]
|
4205
|
+
attr_accessor :key
|
4206
|
+
|
4207
|
+
def initialize(**args)
|
4208
|
+
update!(**args)
|
4209
|
+
end
|
4210
|
+
|
4211
|
+
# Update properties of this object
|
4212
|
+
def update!(**args)
|
4213
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
4214
|
+
@key = args[:key] if args.key?(:key)
|
4215
|
+
end
|
4216
|
+
end
|
4217
|
+
|
4218
|
+
# Fields specific to realms using SYMANTEC_CLOUD_SWG.
|
4219
|
+
class SacRealmSacRealmSymantecOptions
|
4220
|
+
include Google::Apis::Core::Hashable
|
4221
|
+
|
4222
|
+
# Output only. Symantec site IDs that the user can choose to connect to.
|
4223
|
+
# Corresponds to the JSON property `availableSymantecSites`
|
4224
|
+
# @return [Array<String>]
|
4225
|
+
attr_accessor :available_symantec_sites
|
4226
|
+
|
4227
|
+
# Optional. A secret ID or secret name can be specified, but it will be parsed
|
4228
|
+
# and stored as secret URI in the format of "projects/`PROJECT_NUMBER`/secrets/
|
4229
|
+
# my-secret".
|
4230
|
+
# Corresponds to the JSON property `secretPath`
|
4231
|
+
# @return [String]
|
4232
|
+
attr_accessor :secret_path
|
4233
|
+
|
4234
|
+
# Output only. [Output only] Connection status to Symantec API.
|
4235
|
+
# Corresponds to the JSON property `symantecConnectionState`
|
4236
|
+
# @return [String]
|
4237
|
+
attr_accessor :symantec_connection_state
|
4238
|
+
|
4239
|
+
def initialize(**args)
|
4240
|
+
update!(**args)
|
4241
|
+
end
|
4242
|
+
|
4243
|
+
# Update properties of this object
|
4244
|
+
def update!(**args)
|
4245
|
+
@available_symantec_sites = args[:available_symantec_sites] if args.key?(:available_symantec_sites)
|
4246
|
+
@secret_path = args[:secret_path] if args.key?(:secret_path)
|
4247
|
+
@symantec_connection_state = args[:symantec_connection_state] if args.key?(:symantec_connection_state)
|
4248
|
+
end
|
4249
|
+
end
|
4250
|
+
|
3965
4251
|
# SecurityProfile is a resource that defines the behavior for one of many
|
3966
4252
|
# ProfileTypes.
|
3967
4253
|
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.47.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 = "20250514"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -472,6 +472,18 @@ module Google
|
|
472
472
|
include Google::Apis::Core::JsonObjectSupport
|
473
473
|
end
|
474
474
|
|
475
|
+
class ListSacAttachmentsResponse
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class ListSacRealmsResponse
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
475
487
|
class ListSecurityProfileGroupsResponse
|
476
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
489
|
|
@@ -598,6 +610,36 @@ module Google
|
|
598
610
|
include Google::Apis::Core::JsonObjectSupport
|
599
611
|
end
|
600
612
|
|
613
|
+
class SacAttachment
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
619
|
+
class SacAttachmentSacAttachmentSymantecOptions
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
625
|
+
class SacRealm
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
631
|
+
class SacRealmPairingKey
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
+
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
635
|
+
end
|
636
|
+
|
637
|
+
class SacRealmSacRealmSymantecOptions
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
|
+
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
641
|
+
end
|
642
|
+
|
601
643
|
class SecurityProfile
|
602
644
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
645
|
|
@@ -752,8 +794,6 @@ module Google
|
|
752
794
|
class AuthzPolicyAuthzRuleFromRequestSource
|
753
795
|
# @private
|
754
796
|
class Representation < Google::Apis::Core::JsonRepresentation
|
755
|
-
collection :principals, as: 'principals', class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleStringMatch::Representation
|
756
|
-
|
757
797
|
collection :resources, as: 'resources', class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleRequestResource, decorator: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleRequestResource::Representation
|
758
798
|
|
759
799
|
end
|
@@ -1426,6 +1466,26 @@ module Google
|
|
1426
1466
|
end
|
1427
1467
|
end
|
1428
1468
|
|
1469
|
+
class ListSacAttachmentsResponse
|
1470
|
+
# @private
|
1471
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1472
|
+
property :next_page_token, as: 'nextPageToken'
|
1473
|
+
collection :sac_attachments, as: 'sacAttachments', class: Google::Apis::NetworksecurityV1beta1::SacAttachment, decorator: Google::Apis::NetworksecurityV1beta1::SacAttachment::Representation
|
1474
|
+
|
1475
|
+
collection :unreachable, as: 'unreachable'
|
1476
|
+
end
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
class ListSacRealmsResponse
|
1480
|
+
# @private
|
1481
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1482
|
+
property :next_page_token, as: 'nextPageToken'
|
1483
|
+
collection :sac_realms, as: 'sacRealms', class: Google::Apis::NetworksecurityV1beta1::SacRealm, decorator: Google::Apis::NetworksecurityV1beta1::SacRealm::Representation
|
1484
|
+
|
1485
|
+
collection :unreachable, as: 'unreachable'
|
1486
|
+
end
|
1487
|
+
end
|
1488
|
+
|
1429
1489
|
class ListSecurityProfileGroupsResponse
|
1430
1490
|
# @private
|
1431
1491
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1658,6 +1718,64 @@ module Google
|
|
1658
1718
|
end
|
1659
1719
|
end
|
1660
1720
|
|
1721
|
+
class SacAttachment
|
1722
|
+
# @private
|
1723
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1724
|
+
property :country, as: 'country'
|
1725
|
+
property :create_time, as: 'createTime'
|
1726
|
+
hash :labels, as: 'labels'
|
1727
|
+
property :name, as: 'name'
|
1728
|
+
property :ncc_gateway, as: 'nccGateway'
|
1729
|
+
property :sac_realm, as: 'sacRealm'
|
1730
|
+
property :state, as: 'state'
|
1731
|
+
property :symantec_options, as: 'symantecOptions', class: Google::Apis::NetworksecurityV1beta1::SacAttachmentSacAttachmentSymantecOptions, decorator: Google::Apis::NetworksecurityV1beta1::SacAttachmentSacAttachmentSymantecOptions::Representation
|
1732
|
+
|
1733
|
+
property :time_zone, as: 'timeZone'
|
1734
|
+
property :update_time, as: 'updateTime'
|
1735
|
+
end
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
class SacAttachmentSacAttachmentSymantecOptions
|
1739
|
+
# @private
|
1740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1741
|
+
property :symantec_location_name, as: 'symantecLocationName'
|
1742
|
+
property :symantec_site, as: 'symantecSite'
|
1743
|
+
end
|
1744
|
+
end
|
1745
|
+
|
1746
|
+
class SacRealm
|
1747
|
+
# @private
|
1748
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1749
|
+
property :create_time, as: 'createTime'
|
1750
|
+
hash :labels, as: 'labels'
|
1751
|
+
property :name, as: 'name'
|
1752
|
+
property :pairing_key, as: 'pairingKey', class: Google::Apis::NetworksecurityV1beta1::SacRealmPairingKey, decorator: Google::Apis::NetworksecurityV1beta1::SacRealmPairingKey::Representation
|
1753
|
+
|
1754
|
+
property :security_service, as: 'securityService'
|
1755
|
+
property :state, as: 'state'
|
1756
|
+
property :symantec_options, as: 'symantecOptions', class: Google::Apis::NetworksecurityV1beta1::SacRealmSacRealmSymantecOptions, decorator: Google::Apis::NetworksecurityV1beta1::SacRealmSacRealmSymantecOptions::Representation
|
1757
|
+
|
1758
|
+
property :update_time, as: 'updateTime'
|
1759
|
+
end
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
class SacRealmPairingKey
|
1763
|
+
# @private
|
1764
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1765
|
+
property :expire_time, as: 'expireTime'
|
1766
|
+
property :key, as: 'key'
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
class SacRealmSacRealmSymantecOptions
|
1771
|
+
# @private
|
1772
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1773
|
+
collection :available_symantec_sites, as: 'availableSymantecSites'
|
1774
|
+
property :secret_path, as: 'secretPath'
|
1775
|
+
property :symantec_connection_state, as: 'symantecConnectionState'
|
1776
|
+
end
|
1777
|
+
end
|
1778
|
+
|
1661
1779
|
class SecurityProfile
|
1662
1780
|
# @private
|
1663
1781
|
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.47.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.47.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: []
|