source: vendor/google/apiclient-services/src/BinaryAuthorization/Check.php

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

Upload project files

  • Property mode set to 100644
File size: 4.3 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\BinaryAuthorization;
19
20class Check extends \Google\Model
21{
22 /**
23 * @var bool
24 */
25 public $alwaysDeny;
26 /**
27 * @var string
28 */
29 public $displayName;
30 protected $imageAllowlistType = ImageAllowlist::class;
31 protected $imageAllowlistDataType = '';
32 protected $imageFreshnessCheckType = ImageFreshnessCheck::class;
33 protected $imageFreshnessCheckDataType = '';
34 protected $sigstoreSignatureCheckType = SigstoreSignatureCheck::class;
35 protected $sigstoreSignatureCheckDataType = '';
36 protected $simpleSigningAttestationCheckType = SimpleSigningAttestationCheck::class;
37 protected $simpleSigningAttestationCheckDataType = '';
38 protected $slsaCheckType = SlsaCheck::class;
39 protected $slsaCheckDataType = '';
40 protected $trustedDirectoryCheckType = TrustedDirectoryCheck::class;
41 protected $trustedDirectoryCheckDataType = '';
42 protected $vulnerabilityCheckType = VulnerabilityCheck::class;
43 protected $vulnerabilityCheckDataType = '';
44
45 /**
46 * @param bool
47 */
48 public function setAlwaysDeny($alwaysDeny)
49 {
50 $this->alwaysDeny = $alwaysDeny;
51 }
52 /**
53 * @return bool
54 */
55 public function getAlwaysDeny()
56 {
57 return $this->alwaysDeny;
58 }
59 /**
60 * @param string
61 */
62 public function setDisplayName($displayName)
63 {
64 $this->displayName = $displayName;
65 }
66 /**
67 * @return string
68 */
69 public function getDisplayName()
70 {
71 return $this->displayName;
72 }
73 /**
74 * @param ImageAllowlist
75 */
76 public function setImageAllowlist(ImageAllowlist $imageAllowlist)
77 {
78 $this->imageAllowlist = $imageAllowlist;
79 }
80 /**
81 * @return ImageAllowlist
82 */
83 public function getImageAllowlist()
84 {
85 return $this->imageAllowlist;
86 }
87 /**
88 * @param ImageFreshnessCheck
89 */
90 public function setImageFreshnessCheck(ImageFreshnessCheck $imageFreshnessCheck)
91 {
92 $this->imageFreshnessCheck = $imageFreshnessCheck;
93 }
94 /**
95 * @return ImageFreshnessCheck
96 */
97 public function getImageFreshnessCheck()
98 {
99 return $this->imageFreshnessCheck;
100 }
101 /**
102 * @param SigstoreSignatureCheck
103 */
104 public function setSigstoreSignatureCheck(SigstoreSignatureCheck $sigstoreSignatureCheck)
105 {
106 $this->sigstoreSignatureCheck = $sigstoreSignatureCheck;
107 }
108 /**
109 * @return SigstoreSignatureCheck
110 */
111 public function getSigstoreSignatureCheck()
112 {
113 return $this->sigstoreSignatureCheck;
114 }
115 /**
116 * @param SimpleSigningAttestationCheck
117 */
118 public function setSimpleSigningAttestationCheck(SimpleSigningAttestationCheck $simpleSigningAttestationCheck)
119 {
120 $this->simpleSigningAttestationCheck = $simpleSigningAttestationCheck;
121 }
122 /**
123 * @return SimpleSigningAttestationCheck
124 */
125 public function getSimpleSigningAttestationCheck()
126 {
127 return $this->simpleSigningAttestationCheck;
128 }
129 /**
130 * @param SlsaCheck
131 */
132 public function setSlsaCheck(SlsaCheck $slsaCheck)
133 {
134 $this->slsaCheck = $slsaCheck;
135 }
136 /**
137 * @return SlsaCheck
138 */
139 public function getSlsaCheck()
140 {
141 return $this->slsaCheck;
142 }
143 /**
144 * @param TrustedDirectoryCheck
145 */
146 public function setTrustedDirectoryCheck(TrustedDirectoryCheck $trustedDirectoryCheck)
147 {
148 $this->trustedDirectoryCheck = $trustedDirectoryCheck;
149 }
150 /**
151 * @return TrustedDirectoryCheck
152 */
153 public function getTrustedDirectoryCheck()
154 {
155 return $this->trustedDirectoryCheck;
156 }
157 /**
158 * @param VulnerabilityCheck
159 */
160 public function setVulnerabilityCheck(VulnerabilityCheck $vulnerabilityCheck)
161 {
162 $this->vulnerabilityCheck = $vulnerabilityCheck;
163 }
164 /**
165 * @return VulnerabilityCheck
166 */
167 public function getVulnerabilityCheck()
168 {
169 return $this->vulnerabilityCheck;
170 }
171}
172
173// Adding a class alias for backwards compatibility with the previous class name.
174class_alias(Check::class, 'Google_Service_BinaryAuthorization_Check');
Note: See TracBrowser for help on using the repository browser.