source: vendor/google/apiclient-services/src/SecurityCommandCenter/GoogleCloudSecuritycenterV2CloudArmor.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\SecurityCommandCenter;
19
20class GoogleCloudSecuritycenterV2CloudArmor extends \Google\Model
21{
22 protected $adaptiveProtectionType = GoogleCloudSecuritycenterV2AdaptiveProtection::class;
23 protected $adaptiveProtectionDataType = '';
24 protected $attackType = GoogleCloudSecuritycenterV2Attack::class;
25 protected $attackDataType = '';
26 /**
27 * @var string
28 */
29 public $duration;
30 protected $requestsType = GoogleCloudSecuritycenterV2Requests::class;
31 protected $requestsDataType = '';
32 protected $securityPolicyType = GoogleCloudSecuritycenterV2SecurityPolicy::class;
33 protected $securityPolicyDataType = '';
34 /**
35 * @var string
36 */
37 public $threatVector;
38
39 /**
40 * @param GoogleCloudSecuritycenterV2AdaptiveProtection
41 */
42 public function setAdaptiveProtection(GoogleCloudSecuritycenterV2AdaptiveProtection $adaptiveProtection)
43 {
44 $this->adaptiveProtection = $adaptiveProtection;
45 }
46 /**
47 * @return GoogleCloudSecuritycenterV2AdaptiveProtection
48 */
49 public function getAdaptiveProtection()
50 {
51 return $this->adaptiveProtection;
52 }
53 /**
54 * @param GoogleCloudSecuritycenterV2Attack
55 */
56 public function setAttack(GoogleCloudSecuritycenterV2Attack $attack)
57 {
58 $this->attack = $attack;
59 }
60 /**
61 * @return GoogleCloudSecuritycenterV2Attack
62 */
63 public function getAttack()
64 {
65 return $this->attack;
66 }
67 /**
68 * @param string
69 */
70 public function setDuration($duration)
71 {
72 $this->duration = $duration;
73 }
74 /**
75 * @return string
76 */
77 public function getDuration()
78 {
79 return $this->duration;
80 }
81 /**
82 * @param GoogleCloudSecuritycenterV2Requests
83 */
84 public function setRequests(GoogleCloudSecuritycenterV2Requests $requests)
85 {
86 $this->requests = $requests;
87 }
88 /**
89 * @return GoogleCloudSecuritycenterV2Requests
90 */
91 public function getRequests()
92 {
93 return $this->requests;
94 }
95 /**
96 * @param GoogleCloudSecuritycenterV2SecurityPolicy
97 */
98 public function setSecurityPolicy(GoogleCloudSecuritycenterV2SecurityPolicy $securityPolicy)
99 {
100 $this->securityPolicy = $securityPolicy;
101 }
102 /**
103 * @return GoogleCloudSecuritycenterV2SecurityPolicy
104 */
105 public function getSecurityPolicy()
106 {
107 return $this->securityPolicy;
108 }
109 /**
110 * @param string
111 */
112 public function setThreatVector($threatVector)
113 {
114 $this->threatVector = $threatVector;
115 }
116 /**
117 * @return string
118 */
119 public function getThreatVector()
120 {
121 return $this->threatVector;
122 }
123}
124
125// Adding a class alias for backwards compatibility with the previous class name.
126class_alias(GoogleCloudSecuritycenterV2CloudArmor::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2CloudArmor');
Note: See TracBrowser for help on using the repository browser.