name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * The name of the service that this resource belongs to, such as * `compute.googleapis.com`. The service name might not match the DNS hostname * that actually serves the request. For a full list of resource service * values, see https://cloud.google.com/iam/help/conditions/resource-services * * @param string $service */ public function setService($service) { $this->service = $service; } /** * @return string */ public function getService() { return $this->service; } /** * The type of the resource, in the format `{service}/{kind}`. For a full list * of resource type values, see * https://cloud.google.com/iam/help/conditions/resource-types * * @param string $type */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudPolicytroubleshooterIamV3ConditionContextResource::class, 'Google_Service_PolicyTroubleshooter_GoogleCloudPolicytroubleshooterIamV3ConditionContextResource');