from google.ads.googleads.v8.enums.types import response_content_type as gage_response_content_type
from google.ads.googleads.v8.resources.types import campaign_experiment as gagr_campaign_experiment
from google.protobuf import field_mask_pb2  # type: ignore
from google.rpc import status_pb2  # type: ignore

__protobuf__ = proto.module(
    package='google.ads.googleads.v8.services',
    marshal='google.ads.googleads.v8',
    manifest={
        'GetCampaignExperimentRequest',
        'MutateCampaignExperimentsRequest',
        'CampaignExperimentOperation',
        'MutateCampaignExperimentsResponse',
        'MutateCampaignExperimentResult',
        'CreateCampaignExperimentRequest',
        'CreateCampaignExperimentMetadata',
        'GraduateCampaignExperimentRequest',
        'GraduateCampaignExperimentResponse',
        'PromoteCampaignExperimentRequest',
        'EndCampaignExperimentRequest',
        'ListCampaignExperimentAsyncErrorsRequest',
        'ListCampaignExperimentAsyncErrorsResponse',
    },
)


class GetCampaignExperimentRequest(proto.Message):
    r"""Request message for
    [CampaignExperimentService.GetCampaignExperiment][google.ads.googleads.v8.services.CampaignExperimentService.GetCampaignExperiment].
Ejemplo n.º 2
0
# limitations under the License.
#

import proto  # type: ignore

from google.cloud.aiplatform_v1.types import deployed_model_ref
from google.cloud.aiplatform_v1.types import encryption_spec as gca_encryption_spec
from google.cloud.aiplatform_v1.types import env_var
from google.protobuf import struct_pb2 as struct  # type: ignore
from google.protobuf import timestamp_pb2 as timestamp  # type: ignore

__protobuf__ = proto.module(
    package="google.cloud.aiplatform.v1",
    manifest={
        "Model",
        "PredictSchemata",
        "ModelContainerSpec",
        "Port",
    },
)


class Model(proto.Message):
    r"""A trained machine learning Model.

    Attributes:
        name (str):
            The resource name of the Model.
        display_name (str):
            Required. The display name of the Model.
            The name can be up to 128 characters long and
Ejemplo n.º 3
0
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.protobuf import field_mask_pb2  # type: ignore
from google.protobuf import timestamp_pb2  # type: ignore
import proto  # type: ignore

from google.cloud.gaming_v1beta.types import common

__protobuf__ = proto.module(
    package="google.cloud.gaming.v1beta",
    manifest={
        "ListRealmsRequest",
        "ListRealmsResponse",
        "GetRealmRequest",
        "CreateRealmRequest",
        "DeleteRealmRequest",
        "UpdateRealmRequest",
        "PreviewRealmUpdateRequest",
        "PreviewRealmUpdateResponse",
        "Realm",
    },
)


class ListRealmsRequest(proto.Message):
    r"""Request message for RealmsService.ListRealms.

    Attributes:
        parent (str):
            Required. The parent resource name. Uses the form:
            ``projects/{project}/locations/{location}``.
Ejemplo n.º 4
0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

from google.ads.googleads.v7.enums.types import interaction_event_type
from google.ads.googleads.v7.enums.types import quality_score_bucket

__protobuf__ = proto.module(
    package="google.ads.googleads.v7.common",
    marshal="google.ads.googleads.v7",
    manifest={
        "Metrics",
    },
)


class Metrics(proto.Message):
    r"""Metrics data.
    Attributes:
        absolute_top_impression_percentage (float):
            The percent of your ad impressions that are
            shown as the very first ad above the organic
            search results.
        active_view_cpm (float):
            Average cost of viewable impressions
            (``active_view_impressions``).
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

from google.ads.googleads.v8.enums.types import response_content_type as gage_response_content_type
from google.ads.googleads.v8.resources.types import customer_negative_criterion as gagr_customer_negative_criterion
from google.rpc import status_pb2  # type: ignore


__protobuf__ = proto.module(
    package='google.ads.googleads.v8.services',
    marshal='google.ads.googleads.v8',
    manifest={
        'GetCustomerNegativeCriterionRequest',
        'MutateCustomerNegativeCriteriaRequest',
        'CustomerNegativeCriterionOperation',
        'MutateCustomerNegativeCriteriaResponse',
        'MutateCustomerNegativeCriteriaResult',
    },
)


class GetCustomerNegativeCriterionRequest(proto.Message):
    r"""Request message for
    [CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v8.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion].

    Attributes:
        resource_name (str):
            Required. The resource name of the criterion
            to fetch.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

from google.cloud.aiplatform_v1beta1.types import migratable_resource as gca_migratable_resource
from google.cloud.aiplatform_v1beta1.types import operation
from google.rpc import status_pb2  # type: ignore


__protobuf__ = proto.module(
    package='google.cloud.aiplatform.v1beta1',
    manifest={
        'SearchMigratableResourcesRequest',
        'SearchMigratableResourcesResponse',
        'BatchMigrateResourcesRequest',
        'MigrateResourceRequest',
        'BatchMigrateResourcesResponse',
        'MigrateResourceResponse',
        'BatchMigrateResourcesOperationMetadata',
    },
)


class SearchMigratableResourcesRequest(proto.Message):
    r"""Request message for
    [MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResources].

    Attributes:
        parent (str):
            Required. The location that the migratable resources should
            be searched from. It's the Vertex AI location that the
Ejemplo n.º 7
0
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package="google.ads.googleads.v7.resources",
    marshal="google.ads.googleads.v7",
    manifest={
        "LocationView",
    },
)


class LocationView(proto.Message):
    r"""A location view summarizes the performance of campaigns by
    Location criteria.

    Attributes:
        resource_name (str):
            Output only. The resource name of the location view.
            Location view resource names have the form:

            ``customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}``
Ejemplo n.º 8
0
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package="google.ads.googleads.v9.common",
    marshal="google.ads.googleads.v9",
    manifest={
        "BidModifierSimulationPointList",
        "CpcBidSimulationPointList",
        "CpvBidSimulationPointList",
        "TargetCpaSimulationPointList",
        "TargetRoasSimulationPointList",
        "PercentCpcBidSimulationPointList",
        "BudgetSimulationPointList",
        "TargetImpressionShareSimulationPointList",
        "BidModifierSimulationPoint",
        "CpcBidSimulationPoint",
        "CpvBidSimulationPoint",
        "TargetCpaSimulationPoint",
        "TargetRoasSimulationPoint",
        "PercentCpcBidSimulationPoint",
        "BudgetSimulationPoint",
        "TargetImpressionShareSimulationPoint",
    },
)


class BidModifierSimulationPointList(proto.Message):
    r"""A container for simulation points for simulations of type
    BID_MODIFIER.
Ejemplo n.º 9
0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

from google.cloud.aiplatform_v1.types import encryption_spec as gca_encryption_spec
from google.protobuf import timestamp_pb2  # type: ignore


__protobuf__ = proto.module(
    package="google.cloud.aiplatform.v1",
    manifest={
        "MetadataStore",
    },
)


class MetadataStore(proto.Message):
    r"""Instance of a metadata store. Contains a set of metadata that
    can be queried.

    Attributes:
        name (str):
            Output only. The resource name of the
            MetadataStore instance.
        create_time (google.protobuf.timestamp_pb2.Timestamp):
            Output only. Timestamp when this
            MetadataStore was created.
Ejemplo n.º 10
0
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package="google.ads.googleads.v10.errors",
    marshal="google.ads.googleads.v10",
    manifest={
        "AudienceErrorEnum",
    },
)


class AudienceErrorEnum(proto.Message):
    r"""Container for enum describing possible audience errors.
    """
    class AudienceError(proto.Enum):
        r"""Enum describing possible audience errors."""
        UNSPECIFIED = 0
        UNKNOWN = 1
        NAME_ALREADY_IN_USE = 2
        DIMENSION_INVALID = 3
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

from google.ads.googleads.v4.enums.types import geo_target_constant_status
from google.protobuf import wrappers_pb2  # type: ignore


__protobuf__ = proto.module(
    package='google.ads.googleads.v4.resources',
    marshal='google.ads.googleads.v4',
    manifest={
        'GeoTargetConstant',
    },
)


class GeoTargetConstant(proto.Message):
    r"""A geo target constant.
    Attributes:
        resource_name (str):
            Output only. The resource name of the geo target constant.
            Geo target constant resource names have the form:

            ``geoTargetConstants/{geo_target_constant_id}``
        id (google.protobuf.wrappers_pb2.Int64Value):
            Output only. The ID of the geo target
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package='google.ads.googleads.v5.enums',
    marshal='google.ads.googleads.v5',
    manifest={
        'ReachPlanNetworkEnum',
    },
)


class ReachPlanNetworkEnum(proto.Message):
    r"""Container for enum describing plannable networks.    """
    class ReachPlanNetwork(proto.Enum):
        r"""Possible plannable network values."""
        UNSPECIFIED = 0
        UNKNOWN = 1
        YOUTUBE = 2
        GOOGLE_VIDEO_PARTNERS = 3
        YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS = 4
Ejemplo n.º 13
0
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package='google.ads.googleads.v5.enums',
    marshal='google.ads.googleads.v5',
    manifest={
        'ProductConditionEnum',
    },
)


class ProductConditionEnum(proto.Message):
    r"""Condition of a product offer.    """
    class ProductCondition(proto.Enum):
        r"""Enum describing the condition of a product offer."""
        UNSPECIFIED = 0
        UNKNOWN = 1
        NEW = 3
        REFURBISHED = 4
        USED = 5
Ejemplo n.º 14
0
#
import proto  # type: ignore

from google.ads.googleads.v8.enums.types import (
    response_content_type as gage_response_content_type, )
from google.ads.googleads.v8.resources.types import (
    campaign_budget as gagr_campaign_budget, )
from google.protobuf import field_mask_pb2  # type: ignore
from google.rpc import status_pb2  # type: ignore

__protobuf__ = proto.module(
    package="google.ads.googleads.v8.services",
    marshal="google.ads.googleads.v8",
    manifest={
        "GetCampaignBudgetRequest",
        "MutateCampaignBudgetsRequest",
        "CampaignBudgetOperation",
        "MutateCampaignBudgetsResponse",
        "MutateCampaignBudgetResult",
    },
)


class GetCampaignBudgetRequest(proto.Message):
    r"""Request message for
    [CampaignBudgetService.GetCampaignBudget][google.ads.googleads.v8.services.CampaignBudgetService.GetCampaignBudget].

    Attributes:
        resource_name (str):
            Required. The resource name of the campaign
            budget to fetch.
Ejemplo n.º 15
0
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

from google.cloud.aiplatform_v1beta1.types import (
    migratable_resource as gca_migratable_resource, )
from google.cloud.aiplatform_v1beta1.types import operation
from google.rpc import status_pb2  # type: ignore

__protobuf__ = proto.module(
    package="google.cloud.aiplatform.v1beta1",
    manifest={
        "SearchMigratableResourcesRequest",
        "SearchMigratableResourcesResponse",
        "BatchMigrateResourcesRequest",
        "MigrateResourceRequest",
        "BatchMigrateResourcesResponse",
        "MigrateResourceResponse",
        "BatchMigrateResourcesOperationMetadata",
    },
)


class SearchMigratableResourcesRequest(proto.Message):
    r"""Request message for
    [MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResources].

    Attributes:
        parent (str):
            Required. The location that the migratable resources should
            be searched from. It's the Vertex AI location that the
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package="google.ads.googleads.v9.enums",
    marshal="google.ads.googleads.v9",
    manifest={
        "QualityScoreBucketEnum",
    },
)


class QualityScoreBucketEnum(proto.Message):
    r"""The relative performance compared to other advertisers.
    """
    class QualityScoreBucket(proto.Enum):
        r"""Enum listing the possible quality score buckets."""
        UNSPECIFIED = 0
        UNKNOWN = 1
        BELOW_AVERAGE = 2
        AVERAGE = 3
        ABOVE_AVERAGE = 4
Ejemplo n.º 17
0
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package='google.ads.googleads.v5.resources',
    marshal='google.ads.googleads.v5',
    manifest={
        'TopicView',
    },
)


class TopicView(proto.Message):
    r"""A topic view.
    Attributes:
        resource_name (str):
            Output only. The resource name of the topic view. Topic view
            resource names have the form:

            ``customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}``
    """
Ejemplo n.º 18
0
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto  # type: ignore


from google.cloud.securitycenter_v1p1beta1.types import (
    security_marks as gcs_security_marks,
)
from google.protobuf import struct_pb2 as struct  # type: ignore
from google.protobuf import timestamp_pb2 as timestamp  # type: ignore


__protobuf__ = proto.module(
    package="google.cloud.securitycenter.v1p1beta1", manifest={"Finding",},
)


class Finding(proto.Message):
    r"""Security Command Center finding.
    A finding is a record of assessment data (security, risk, health
    or privacy) ingested into Security Command Center for
    presentation, notification, analysis, policy testing, and
    enforcement. For example, an XSS vulnerability in an App Engine
    application is a finding.

    Attributes:
        name (str):
            The relative resource name of this finding. See:
            https://cloud.google.com/apis/design/resource_names#relative_resource_name
Ejemplo n.º 19
0
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto  # type: ignore


from google.cloud.automl_v1.types import classification


__protobuf__ = proto.module(
    package="google.cloud.automl.v1",
    manifest={
        "ImageClassificationDatasetMetadata",
        "ImageObjectDetectionDatasetMetadata",
        "ImageClassificationModelMetadata",
        "ImageObjectDetectionModelMetadata",
        "ImageClassificationModelDeploymentMetadata",
        "ImageObjectDetectionModelDeploymentMetadata",
    },
)


class ImageClassificationDatasetMetadata(proto.Message):
    r"""Dataset metadata that is specific to image classification.

    Attributes:
        classification_type (~.classification.ClassificationType):
            Required. Type of the classification problem.
    """
Ejemplo n.º 20
0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

from google.ads.googleads.v9.enums.types import access_invitation_status
from google.ads.googleads.v9.enums.types import access_role as gage_access_role

__protobuf__ = proto.module(
    package="google.ads.googleads.v9.resources",
    marshal="google.ads.googleads.v9",
    manifest={
        "CustomerUserAccessInvitation",
    },
)


class CustomerUserAccessInvitation(proto.Message):
    r"""Represent an invitation to a new user on this customer
    account.

    Attributes:
        resource_name (str):
            Immutable. Name of the resource. Resource names have the
            form:
            ``customers/{customer_id}/customerUserAccessInvitations/{invitation_id}``
        invitation_id (int):
Ejemplo n.º 21
0
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package='google.ads.googleads.v7.services',
    marshal='google.ads.googleads.v7',
    manifest={
        'GetAdGroupSimulationRequest',
    },
)


class GetAdGroupSimulationRequest(proto.Message):
    r"""Request message for
    [AdGroupSimulationService.GetAdGroupSimulation][google.ads.googleads.v7.services.AdGroupSimulationService.GetAdGroupSimulation].

    Attributes:
        resource_name (str):
            Required. The resource name of the ad group
            simulation to fetch.
    """
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto  # type: ignore


from google.protobuf import duration_pb2 as duration  # type: ignore
from google.protobuf import wrappers_pb2 as wrappers  # type: ignore


__protobuf__ = proto.module(
    package="google.cloud.aiplatform.v1beta1.schema.predict.prediction",
    manifest={"VideoClassificationPredictionResult",},
)


class VideoClassificationPredictionResult(proto.Message):
    r"""Prediction output format for Video Classification.

    Attributes:
        id (str):
            The resource ID of the AnnotationSpec that
            had been identified.
        display_name (str):
            The display name of the AnnotationSpec that
            had been identified.
        type_ (str):
            The type of the prediction. The requested
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package="google.ads.googleads.v10.enums",
    marshal="google.ads.googleads.v10",
    manifest={
        "ProductChannelExclusivityEnum",
    },
)


class ProductChannelExclusivityEnum(proto.Message):
    r"""Availability of a product offer.
    """
    class ProductChannelExclusivity(proto.Enum):
        r"""Enum describing the availability of a product offer."""
        UNSPECIFIED = 0
        UNKNOWN = 1
        SINGLE_CHANNEL = 2
        MULTI_CHANNEL = 3
Ejemplo n.º 24
0
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package='google.ads.googleads.v4.errors',
    marshal='google.ads.googleads.v4',
    manifest={
        'UrlFieldErrorEnum',
    },
)


class UrlFieldErrorEnum(proto.Message):
    r"""Container for enum describing possible url field errors.    """
    class UrlFieldError(proto.Enum):
        r"""Enum describing possible url field errors."""
        UNSPECIFIED = 0
        UNKNOWN = 1
        INVALID_TRACKING_URL_TEMPLATE = 2
        INVALID_TAG_IN_TRACKING_URL_TEMPLATE = 3
        MISSING_TRACKING_URL_TEMPLATE_TAG = 4
        MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 5
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package='google.ads.googleads.v8.errors',
    marshal='google.ads.googleads.v8',
    manifest={
        'KeywordPlanCampaignErrorEnum',
    },
)


class KeywordPlanCampaignErrorEnum(proto.Message):
    r"""Container for enum describing possible errors from applying a
    keyword plan campaign.
        """
    class KeywordPlanCampaignError(proto.Enum):
        r"""Enum describing possible errors from applying a keyword plan
        campaign.
        """
        UNSPECIFIED = 0
        UNKNOWN = 1
Ejemplo n.º 26
0
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto  # type: ignore


__protobuf__ = proto.module(
    package="google.ads.googleads.v5.errors",
    marshal="google.ads.googleads.v5",
    manifest={"DistinctErrorEnum",},
)


class DistinctErrorEnum(proto.Message):
    r"""Container for enum describing possible distinct errors."""

    class DistinctError(proto.Enum):
        r"""Enum describing possible distinct errors."""
        UNSPECIFIED = 0
        UNKNOWN = 1
        DUPLICATE_ELEMENT = 2
        DUPLICATE_TYPE = 3

# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto  # type: ignore

__protobuf__ = proto.module(
    package="google.cloud.aiplatform.v1beta1.schema.predict.params",
    manifest={
        "VideoObjectTrackingPredictionParams",
    },
)


class VideoObjectTrackingPredictionParams(proto.Message):
    r"""Prediction model parameters for Video Object Tracking.

    Attributes:
        confidence_threshold (float):
            The Model only returns predictions with at
            least this confidence score. Default value is
            0.0
        max_predictions (int):
            The model only returns up to that many top,
            by confidence score, predictions per frame of
Ejemplo n.º 28
0
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

from google.protobuf import timestamp_pb2  # type: ignore

__protobuf__ = proto.module(
    package="google.cloud.aiplatform.v1beta1",
    manifest={
        "MigratableResource",
    },
)


class MigratableResource(proto.Message):
    r"""Represents one resource that exists in automl.googleapis.com,
    datalabeling.googleapis.com or ml.googleapis.com.

    This message has `oneof`_ fields (mutually exclusive fields).
    For each oneof, at most one member field can be set at the same time.
    Setting any member of the oneof automatically clears all other
    members.

    .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Ejemplo n.º 29
0
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

from google.cloud.aiplatform_v1.types import deployed_model_ref
from google.cloud.aiplatform_v1.types import encryption_spec as gca_encryption_spec
from google.cloud.aiplatform_v1.types import env_var
from google.protobuf import struct_pb2  # type: ignore
from google.protobuf import timestamp_pb2  # type: ignore

__protobuf__ = proto.module(
    package='google.cloud.aiplatform.v1',
    manifest={
        'Model',
        'PredictSchemata',
        'ModelContainerSpec',
        'Port',
    },
)


class Model(proto.Message):
    r"""A trained machine learning Model.
    Attributes:
        name (str):
            The resource name of the Model.
        display_name (str):
            Required. The display name of the Model.
            The name can be up to 128 characters long and
            can be consist of any UTF-8 characters.
Ejemplo n.º 30
0
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import proto  # type: ignore

__protobuf__ = proto.module(
    package='google.ads.googleads.v7.enums',
    marshal='google.ads.googleads.v7',
    manifest={
        'AdGroupCriterionStatusEnum',
    },
)


class AdGroupCriterionStatusEnum(proto.Message):
    r"""Message describing AdGroupCriterion statuses.    """
    class AdGroupCriterionStatus(proto.Enum):
        r"""The possible statuses of an AdGroupCriterion."""
        UNSPECIFIED = 0
        UNKNOWN = 1
        ENABLED = 2
        PAUSED = 3
        REMOVED = 4