예제 #1
0
def PatchJobAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='patch_job', help_text='An OS patch job.')
예제 #2
0
 def SessionConfig():
     return concepts.ResourceParameterAttributeConfig(
         name='session',
         help_text='Session ID.',
     )
예제 #3
0
def TemplateAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='template',
        help_text='The workflow template name.',
    )
예제 #4
0
def _MetastoreServiceLocationAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='metastore-service-location',
        help_text='Dataproc Metastore location for the {resource}.',
        fallthroughs=_DataprocRegionFallthrough())
예제 #5
0
def JobConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='job',
        help_text='The Job ID.',
    )
예제 #6
0
def ClusterConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='cluster',
        help_text='The Cluster name.',
    )
예제 #7
0
def _GkeLocationAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='gke-cluster-location',
        help_text='GKE region for the {resource}.',
        fallthroughs=_DataprocRegionFallthrough())
예제 #8
0
def OperationAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='operation',
        help_text='Procurement Operation for the {resource}.')
예제 #9
0
def VersionAttributeConfig():
  return concepts.ResourceParameterAttributeConfig(
      name='version',
      help_text='Version for the {resource}.')
예제 #10
0
def EntitlementAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='entitlement',
        help_text='Procurement Entitlement for the {resource}.')
예제 #11
0
def FreeTrialAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='free-trial',
        help_text='Procurement free trial for the {resource}.')
예제 #12
0
def ScanRunAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='scan_run', help_text='The ID of a Scan Run.')
예제 #13
0
def ScanAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='scan-config', help_text='The ID of a Scan Config.')
예제 #14
0
def PatchDeploymentAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='patch_deployment', help_text='An OS patch deployment.')
예제 #15
0
def EnvironmentAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='environment',
        help_text='Cloud Composer environment for the {resource}.')
예제 #16
0
def TriggerAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='trigger', help_text='Name of the trigger.')
예제 #17
0
def OperationAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='operation',
        help_text='Cloud Composer operation for the {resource}.')
예제 #18
0
def DeviceAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='device',
        help_text='The device of the {resource}.',
        completion_request_params={'fieldMask': 'name'},
        completion_id_field='id')
예제 #19
0
def GkeClusterConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='gke-cluster',
        help_text='The GKE Cluster path.',
    )
예제 #20
0
def RegistryAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='registry', help_text='The device registry for the {resource}.')
예제 #21
0
def MetastoreServiceConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='metastore-service',
        help_text=
        'Dataproc Metastore Service to be used as an external metastore.')
예제 #22
0
def RegionAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='region', help_text='The Cloud region for the {resource}.')
예제 #23
0
def HistoryServerClusterConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='history-server-cluster',
        help_text='Spark History Server. '
        'Resource name of an existing Dataproc cluster to act as a '
        'Spark History Server for workloads run on the Cluster.')
def _key_attribute_config():
    return concepts.ResourceParameterAttributeConfig(name='key',
                                                     help_text='Id of the key')
예제 #25
0
 def BatchConfig():
     return concepts.ResourceParameterAttributeConfig(
         name='batch',
         help_text='Batch job ID.',
     )
예제 #26
0
파일: flags.py 프로젝트: 42force/beta
def FunctionAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='function',
        help_text='The Cloud functon name.',
        value_type=api_util.ValidateFunctionNameOrRaise,
    )
예제 #27
0
def OperationConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='operation',
        help_text='The Operation ID.',
    )
예제 #28
0
def ModelAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='model', help_text='The model for the {resource}.')
예제 #29
0
def ConfigurationAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='configuration',
        help_text='The Configuration for the {resource}.')
예제 #30
0
def ReferenceImageAttributeConfig():
    return concepts.ResourceParameterAttributeConfig(
        name='reference_image',
        help_text='The reference-image of the {resource}.')