All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.AutoscalingPolicyQueueBasedScalingCloudPubSub.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250107-2.0.0
Show newest version






AutoscalingPolicyQueueBasedScalingCloudPubSub (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class AutoscalingPolicyQueueBasedScalingCloudPubSub

    • Constructor Detail

      • AutoscalingPolicyQueueBasedScalingCloudPubSub

        public AutoscalingPolicyQueueBasedScalingCloudPubSub()
    • Method Detail

      • getSubscription

        public String getSubscription()
        Cloud Pub/Sub subscription used for scaling. Provide the partial URL (starting with projects/) or just the subscription name. The subscription must be assigned to the topic specified in topicName and must be in a pull configuration. The subscription must belong to the same project as the Autoscaler.
        Returns:
        value or null for none
      • setSubscription

        public AutoscalingPolicyQueueBasedScalingCloudPubSub setSubscription(String subscription)
        Cloud Pub/Sub subscription used for scaling. Provide the partial URL (starting with projects/) or just the subscription name. The subscription must be assigned to the topic specified in topicName and must be in a pull configuration. The subscription must belong to the same project as the Autoscaler.
        Parameters:
        subscription - subscription or null for none
      • getTopic

        public String getTopic()
        Cloud Pub/Sub topic used for scaling. Provide the partial URL or partial URL (starting with projects/) or just the topic name. The topic must belong to the same project as the Autoscaler resource.
        Returns:
        value or null for none
      • setTopic

        public AutoscalingPolicyQueueBasedScalingCloudPubSub setTopic(String topic)
        Cloud Pub/Sub topic used for scaling. Provide the partial URL or partial URL (starting with projects/) or just the topic name. The topic must belong to the same project as the Autoscaler resource.
        Parameters:
        topic - topic or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy